Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (3 sloc) 274 Bytes
const PROPERTIES = {"property1":"val1"} // Initialize a constant which is effectively json properties
PROPERTIES = {"property1":"val2"} // try to modify the constant : error
PROPERTIES.property1 = "val2"; // try to modify a value inside constant : it Works!