Comment on Stop Using Constructors in JS (2012)parentComments−diggan11yI think the comment author you responded to, meant that the developers behind JavaScript was "forced" to add the "new" keyword simply to make JavaScript more Java-like. Not that JavaScript actually is like Java.−wnevets11yThe new keyword was absolutely added to be Java-like however the "prototype system" is nothing like Java.
Comments
I think the comment author you responded to, meant that the developers behind JavaScript was "forced" to add the "new" keyword simply to make JavaScript more Java-like. Not that JavaScript actually is like Java.
The new keyword was absolutely added to be Java-like however the "prototype system" is nothing like Java.