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 raw.githubusercontent.com #
 
PREVIOUS NEXT
Tagged: #difference
ADD COMMENT
Topic
Name
3+2 =