My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more
var vs let vs const: Variable declarations in ES6 | ES2015

var vs let vs const: Variable declarations in ES6 | ES2015

Chris Atherton's photo
Chris Atherton
·May 22, 2017

This is a video from React Training's "Modern JavaScript" course - reacttraining.com/online/modern-javascript In this video you'll learn two new ways to create variables in ES6 (ES2015). They are const and let. To better do that, we'll compare var with let and const by diving into function vs block scope, variable hoisting, and immutability.