Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript Const

const PI = 3.141592653589793;
PI = 3.14;      // This will give an error
PI = PI + 10;   // This will also give an error
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #JavaScript #Const
ADD COMMENT
Topic
Name
5+6 =