Javascript

March 30, 2018 · Javascript ES6 ES6 modules and managing dependencies

ES6 modules! What's there to them? They're nothing more than throw-away one liners using built in keywords right? Why should I read an entire blog post about them? Well, au contraire my friend. The new ES6 module syntax may look very simple, but looks can be deceiving. There's actually incredible

Continue reading...

February 23, 2018 · Javascript ES6 ES6 arrow functions are weird... and awesome!

Last time, we talked about how arrow functions don't have their own this. Hopefully that gave you a taste of what makes arrow functions unique. However, that's not the end of the story though. Arrow functions are a different animal altogether. For this post, we're going to keep talking about

Continue reading...

February 15, 2018 · Javascript ES6 ES6 arrow functions and `this`

According to the MDN documentation: Two factors influenced the introduction of arrow functions: shorter functions and non-binding of this. The first factor is pretty self explanatory. It's always nice to get rid of unnecessary boilerplate code. It makes code more expressive, elegant, and fun to write. The second factor though,

Continue reading...

February 10, 2018 · Javascript ES6 ES6 `let` vs `var`

This post is the start of a new series that will cover new language features introduced in ECMAScript 6. Even though ECMAScript 6 has been around for a while now, you may still not fully understand the subtleties behind the new language features. The approach I'm going to take is

Continue reading...