O'Reilly logo
  • Jeffrey Damon thinks this is interesting:

Functions that are intended to be used with the new prefix are called constructors. By convention, they are kept in variables with a capitalized name. If a constructor is called without the new prefix, very bad things can happen without a compile-time or runtime warning, so the capitalization convention is really important.


Cover of JavaScript: The Good Parts


overwrites the original object?