Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript Constants

const x = 5;
x = 10;  // Error! constant cannot be changed.
console.log(x)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #JavaScript #Constants
ADD COMMENT
Topic
Name
6+2 =