Last active
August 29, 2015 14:19
-
-
Save joshwcomeau/e59fd8277ff5d234d39e to your computer and use it in GitHub Desktop.
Concatenative Inheritance merge output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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