DEV Community

Discussion on: Var vs let vs const in JavaScript

Collapse
 
arvindpdmn profile image
Arvind Padmanabhan

Another useful thing to know is hoisting: devopedia.org/hoisting
Quote: (in the context of hoisting) Unlike the var keyword, let and const keywords don't initialize variables with undefined.