mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
fixing one of my corrections, no idea why I delted the }; on line 333 previously...sorry
This commit is contained in:
parent
cba64739f5
commit
34b0264620
@ -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