1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-12 01:34:19 +02:00

fixing one of my corrections, no idea why I delted the }; on line 333 previously...sorry

This commit is contained in:
Steven Senatori
2013-11-02 17:30:36 -07:00
parent cba64739f5
commit 34b0264620

View File

@@ -330,6 +330,7 @@ var myPrototype = {
myFunc: function(){ myFunc: function(){
return this.myString.toLowerCase() return this.myString.toLowerCase()
} }
};
myObj.__proto__ = myPrototype; myObj.__proto__ = myPrototype;
myObj.meaningOfLife; // = 42 myObj.meaningOfLife; // = 42