Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript const memory

// You can do:
V.id = 37; // No errors

console.log(V.id); // 37

// But you still can't do:
V = { id: 37 }; // TypeError: Assignment to constant variable.
Source by jscomplete.com #
 
PREVIOUS NEXT
Tagged: #javascript #const #memory
ADD COMMENT
Topic
Name
4+6 =