Loading ...
Sorry, an error occurred while loading the content.

1572ES5 and constructors

Expand Messages
  • Mark Volkmann
    Nov 4, 2010
    • 0 Attachment
      I'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.
    • Show all 7 messages in this topic