summaryrefslogtreecommitdiffhomepage
path: root/javascript.html.markdown
diff options
context:
space:
mode:
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();