mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Merge pull request #399 from senatori/master
fixing one of my corrections, no idea why I deleted the }; on line 333
This commit is contained in:
commit
40f2b2d9d5
@ -330,6 +330,7 @@ var myPrototype = {
|
||||
myFunc: function(){
|
||||
return this.myString.toLowerCase()
|
||||
}
|
||||
};
|
||||
|
||||
myObj.__proto__ = myPrototype;
|
||||
myObj.meaningOfLife; // = 42
|
||||
|
Loading…
Reference in New Issue
Block a user