Created
June 5, 2018 07:30
-
-
Save debugmodedotnet/d315f64d0e8b67802e4b850d4bfadd38 to your computer and use it in GitHub Desktop.
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
var animal = { | |
canRun: true | |
} | |
var cat = { | |
name: 'foo', | |
age: 9 | |
} | |
cat.__proto__ = animal; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment