Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript variables

let x = "Hello JavaScript";

let x = 0;

// SyntaxError: 'x' has already been declared
Source by fahadahmad.substack.com #
 
PREVIOUS NEXT
Tagged: #JavaScript #variables
ADD COMMENT
Topic
Name
3+1 =