Are variables declared with let or const hoisted?
I have been playing with ES6 for a while and I noticed that while variables declared with var are hoisted as expected… console.log(typeof … Read more
I have been playing with ES6 for a while and I noticed that while variables declared with var are hoisted as expected… console.log(typeof … Read more
I understand why var takes that name – it is variable, const – it is a constant, but what is the meaning behind … Read more
ECMAScript 6 introduced the let statement. I’ve heard that it’s described as a local variable, but I’m still not quite sure how it … Read more