JavaScript icon Get 69% off the JavaScript Master Bundle!

See the bundle then add to cart and your discount is applied.

days
hours
mins
secs
Understand var and Hoisting in JavaScript image

Understand var and Hoisting in JavaScript

Todd Motto image

Todd Motto

Sep 5, 2019

In this post we are going to understand something called a variable. A variable technically means anything that is actually “variable” - something ...

Mastering Control Flow: Promises and Callbacks to Async and Await image

Mastering Control Flow: Promises and Callbacks to Async and Await

Mark Halpin image

Mark Halpin

Aug 28, 2019

If you haven’t already guessed, this post will walk you through all things promises, callbacks, and JavaScript’s newest flow control method, async/...

All about Immutable Arrays and Objects in JavaScript image

All about Immutable Arrays and Objects in JavaScript

Miroslav Jonas image

Miroslav Jonas

Jul 23, 2019

There has been an explosion of popularity of libraries like Redux and NGRX. One common requirement they have is an immutable state. The state of th...

New JavaScript ES2019 features you need to know! image

New JavaScript ES2019 features you need to know!

Marta Wiśniewska image

Marta Wiśniewska

Jul 1, 2019

With 2019 sure underway, we’re here to dive into the new ES2019 features in the JavaScript language! Some new operators are now available to us, so...

Conditionals in JavaScript: If, Else If and Else image

Conditionals in JavaScript: If, Else If and Else

Todd Motto image

Todd Motto

May 3, 2019

Let’s talk about conditional logic in JavaScript! We’re not going to go all “computer-science” on you and bore you with control flow diagrams - I’m...

Cache-busting in Jekyll, GitHub pages image

Cache-busting in Jekyll, GitHub pages

Todd Motto image

Todd Motto

Oct 23, 2016

I’ve always found updating my blog an interesting feat, however with several million users per year (you crazy cats) cache-busting is something I’v...

Pure versus impure functions image

Pure versus impure functions

Todd Motto image

Todd Motto

Oct 11, 2016

Understanding pure and impure functions is a simple transition into cleaner, more role-based and testable code. In this post we’ll explore pure and...

ES6 arrow functions, syntax and lexical scoping image

ES6 arrow functions, syntax and lexical scoping

Todd Motto image

Todd Motto

Apr 14, 2015

ES2015 (ES6) introduces a really nice feature that punches above its weight in terms of simplicity to integrate versus time saving and feature outp...

Polyfills suck use a featurefill instead image

Polyfills suck use a featurefill instead

Todd Motto image

Todd Motto

Dec 1, 2014

I’m going to dub this a featurefill as the post title suggests, but it’s more a feature-detect-closure-binding-smart-polyfill-api-checker-reusable-...

Replacing switch statements with Object literals image

Replacing switch statements with Object literals

Todd Motto image

Todd Motto

Jul 17, 2014

In many programming languages, the switch statement exists - but should it any longer? If you’re a JavaScript programmer, you’re often jumping in a...

Web Components and concepts ShadowDOM imports templates custom elements image

Web Components and concepts ShadowDOM imports templates custom elements

Todd Motto image

Todd Motto

Jul 2, 2014

Web Components, the future of the web, inspired from attending Google I/O I decided to pick up Web Components and actually build something. Since l...

Methods to determine if an Object has a given property image

Methods to determine if an Object has a given property

Todd Motto image

Todd Motto

Jun 30, 2014

There are multiple ways to detect whether an Object has a property. You’d think it’d be as easy as myObject.hasOwnProperty('prop'); - but no, there...