Return to Snippet

Revision: 44641
at April 15, 2011 05:50 by primitiveshaun


Initial Code
const ERR_INVALID_USERID;

Initial URL


Initial Description
Defines a new constant
Notice how I capitalized the name. It is not mandatory, but it is a programming convention often used in C, so you will sometimes see constants capitalized in JavaScript as well.

Initial Title
Declare Constant

Initial Tags


Initial Language
JavaScript