Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

difference let and var

------------------Differences------------------		var			let
Global Scope										Yes			No
Can be changed outside statement where made in		Yes			No
Block Scope											No			Yes
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #difference #var
ADD COMMENT
Topic
Name
5+8 =