diff options
author | Adam Brenecki <adam@brenecki.id.au> | 2013-09-20 19:17:10 +0930 |
---|---|---|
committer | Adam Brenecki <adam@brenecki.id.au> | 2013-09-20 19:17:10 +0930 |
commit | 49b30c38e2741162bd1661e020fe80c80759dee3 (patch) | |
tree | dbf2adc732ae82536f891a7ec3501e9b4649d84d | |
parent | bc4fbec14d8d343aa2da7a3bcab97fcce71867b8 (diff) |
Add missing semicolon
-rw-r--r-- | javascript.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript.html.markdown b/javascript.html.markdown index 2f742574..9adc0a6d 100644 --- a/javascript.html.markdown +++ b/javascript.html.markdown @@ -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(); |