JavaScript Bits (@javascriptbits) profile picture

Learn ES6 and JavaScript Bit by Bit

Joined April 2016
Photo by JavaScript Bits (@javascriptbits)Photo by JavaScript Bits (@javascriptbits)Photo by JavaScript Bits (@javascriptbits)Photo by JavaScript Bits (@javascriptbits)Photo by JavaScript Bits (@javascriptbits)Photo by JavaScript Bits (@javascriptbits)Photo by JavaScript Bits (@javascriptbits)Photo by JavaScript Bits (@javascriptbits)
Unlike #var & #let #const in #ES6 creates a read only reference that can't be reassigned but it isn't #immutable #JavaScript #JavaScriptBits
2
#ES6 protects against a #variable and #function accidentally sharing the same name by throwing a #SyntaxError #JavaScript #webdevelopment
2
In #ES6 #JavaScript you can’t access a variable before it has been declared, when using #let or #const Thanks to the new #TemporalDeadZone
2
In #ES6 let defines a variable which is scoped to its parent block #JavaScript #javascriptbits #webdevelopment #tutorials
2
4
In #es6 let defines a variable which is scoped to its parent block #javascript #javascriptbits… instagram.com/p/BMcbeZggJsR/