summaryrefslogtreecommitdiffhomepage
path: root/javascript.html.markdown
diff options
context:
space:
mode:
authorAdam Brenecki <adam@brenecki.id.au>2013-09-20 19:17:10 +0930
committerAdam Brenecki <adam@brenecki.id.au>2013-09-20 19:17:10 +0930
commit49b30c38e2741162bd1661e020fe80c80759dee3 (patch)
treedbf2adc732ae82536f891a7ec3501e9b4649d84d /javascript.html.markdown
parentbc4fbec14d8d343aa2da7a3bcab97fcce71867b8 (diff)
Add missing semicolon
Diffstat (limited to 'javascript.html.markdown')
-rw-r--r--javascript.html.markdown2
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();