1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-09 16:26:53 +02:00

Add missing semicolon

This commit is contained in:
Adam Brenecki
2013-09-20 19:17:10 +09:30
parent bc4fbec14d
commit 49b30c38e2

View File

@@ -359,7 +359,7 @@ myObj.meaningOfLife; // = 43
// are given when they're created with that constructor and the new keyword. // are given when they're created with that constructor and the new keyword.
myConstructor.prototype = { myConstructor.prototype = {
getMyNumber: function(){ getMyNumber: function(){
return this.myNumber return this.myNumber;
} }
}; };
var myNewObj2 = new myConstructor(); var myNewObj2 = new myConstructor();