Created
September 26, 2015 17:37
-
-
Save qetr1ck-op/42a5515b63cf94c211c4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
function Rabbit(name) {} | |
Rabbit.prototype = { | |
eats: true | |
}; | |
var rabbit = new Rabbit(); | |
Rabbit.prototype.eats = false; | |
console.log( rabbit.eats ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment