mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
casing fix
This commit is contained in:
parent
1d044a01c7
commit
34fac1cf65
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user