When Not to use an Arrow Function

Before you start going absolutely bananas on using arrow functions everywhere, we need to chat. Arrow functions don't replace regular…

More Arrow Function Examples

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…

JavaScript Arrow Functions Introduction

ES6 has introduced arrow functions which have three main benefits. First, they have a concise syntax. Secondly, they have implicit…

Is var Dead? What should I use?

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…

Temporal Dead Zone ā˜ ļø

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…

ES6 Block Scope is The new IIFE

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…

Quick Tip - Use let with for Loops in JavaScript

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…

ES6 let VS const variables

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…

How let and const are scoped in JavaScript

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…

ES6 for Everyone!

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…