Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript variable

var myString = "string"; //var can be redefined
var myInt = 34; //var can be redefined
const myString2 = "string"; //const cannot be redefined
const myInt2 = 69; //const cannot be redefined
Source by fahadahmad.substack.com #
 
PREVIOUS NEXT
Tagged: #javascript #variable
ADD COMMENT
Topic
Name
8+6 =