mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-05-06 06:48:32 +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(){
|
myFunc: function(){
|
||||||
return this.myString.toLowerCase()
|
return this.myString.toLowerCase()
|
||||||
}
|
}
|
||||||
|
};
|
||||||
|
|
||||||
myObj.__proto__ = myPrototype;
|
myObj.__proto__ = myPrototype;
|
||||||
myObj.meaningOfLife; // = 42
|
myObj.meaningOfLife; // = 42
|
||||||
|
Loading…
Reference in New Issue
Block a user