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:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user