Before you start going absolutely bananas on using arrow functions everywhere, we need to chat. Arrow functions don't replace regularā¦
Let's look at a couple more JavaScript arrow function examples. This is something that comes up often where I'm building an application, andā¦
ES6 has introduced arrow functions which have three main benefits. First, they have a concise syntax. Secondly, they have implicitā¦
We've learned about let and const ā what they do, and how they're scoped. We also know when they can be reassigned and when they cannotā¦
Let's talk real quick about the Temporal Dead Zone . This is a bit of a boring topic, so I'm going to try and make it at least a little funā¦
You can probably see where let and const are going to be useful: if you need to scope something to a block , or if you want to make aā¦
The other problem using let and const will fix is with our for loop. This is something that you probably have all run into with yourā¦
In the last post we learned all about how scoping works with JavaScript let, const and var variables . We now know that var is **functionā¦
There are a couple new ways to declare variables in ES6 that help us out with scoping. We can declare variables with var, which we'veā¦
The last few months I've been hustling away at my next JavaScript course - ES6 for everyone. Today I'm super excited to launch it! ES6.ioā¦