1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-01 12:30:48 +02:00

casing fix

This commit is contained in:
m90
2014-11-01 20:18:11 +01:00
parent 1d044a01c7
commit 34fac1cf65

View File

@@ -463,7 +463,7 @@ MyConstructor.prototype = {
return this.myNumber return this.myNumber
} }
}; };
var myNewObj2 = new myConstructor(); var myNewObj2 = new MyConstructor();
myNewObj2.getMyNumber(); // = 5 myNewObj2.getMyNumber(); // = 5
// Alle primitiven Typen, also strings und numbers, haben auch Konstruktoren, // Alle primitiven Typen, also strings und numbers, haben auch Konstruktoren,