Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript Constants

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