mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Add missing semicolon
This commit is contained in:
parent
bc4fbec14d
commit
49b30c38e2
@ -359,7 +359,7 @@ myObj.meaningOfLife; // = 43
|
||||
// are given when they're created with that constructor and the new keyword.
|
||||
myConstructor.prototype = {
|
||||
getMyNumber: function(){
|
||||
return this.myNumber
|
||||
return this.myNumber;
|
||||
}
|
||||
};
|
||||
var myNewObj2 = new myConstructor();
|
||||
|
Loading…
Reference in New Issue
Block a user