1572ES5 and constructors
- Nov 4, 2010I've combed the web for answers to these questions, but haven't found
them ... even in the ES5 spec which surely contains the answers.
In ES5 what is the definition of a constructor. Is it just a function
whose name begins with an uppercase letter?
Is it always an error to invoke a constructor function without using
the new keyword, or is that only an error in strict mode?
R. Mark Volkmann
Object Computing, Inc.
- Next post in topic >>