diff options
Diffstat (limited to 'de-de/javascript-de.html.markdown')
-rw-r--r-- | de-de/javascript-de.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/de-de/javascript-de.html.markdown b/de-de/javascript-de.html.markdown index 851fe852..a295c1c2 100644 --- a/de-de/javascript-de.html.markdown +++ b/de-de/javascript-de.html.markdown @@ -463,7 +463,7 @@ MyConstructor.prototype = { return this.myNumber
}
};
-var myNewObj2 = new myConstructor();
+var myNewObj2 = new MyConstructor();
myNewObj2.getMyNumber(); // = 5
// Alle primitiven Typen, also strings und numbers, haben auch Konstruktoren,
|