mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-01 04:20:39 +02: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:
@@ -330,6 +330,7 @@ var myPrototype = {
|
||||
myFunc: function(){
|
||||
return this.myString.toLowerCase()
|
||||
}
|
||||
};
|
||||
|
||||
myObj.__proto__ = myPrototype;
|
||||
myObj.meaningOfLife; // = 42
|
||||
|
Reference in New Issue
Block a user