Skip to content

Instantly share code, notes, and snippets.

@joshwcomeau
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshwcomeau/e59fd8277ff5d234d39e to your computer and use it in GitHub Desktop.
Save joshwcomeau/e59fd8277ff5d234d39e to your computer and use it in GitHub Desktop.
Concatenative Inheritance merge output
console.log(dog);
// would return:
{
position: [0,0],
move: function(distance, axis) { ... },
species: "canine",
bark: function() { ... }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment