mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +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(){
|
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