Is it possible to simulate constants in Javascript using closures? If so, can you please furnish me with an example?
This is as far as i got:
This approach allows me to extend the scope to have more than one constant member variable by extending the object literal.