Posted By

primitiveshaun on 04/15/11


Tagged


Versions (?)

Declare Constant


 / Published in: JavaScript
 

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.

  1. const ERR_INVALID_USERID;

Report this snippet  

You need to login to post a comment.