Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

difference between "let" and "var"?

In simple words 'var' is function scoped and 'let' is block scoped
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #difference
ADD COMMENT
Topic
Name
6+1 =