| Register

Default User Icon

JS Quick Hits

Main Content Image Thumbnail Start Here

JS Quick Hits 1 - Array.find()

A bunch of new Array methods were introduced in ES 2015 (aka ES6). Let's take a quick look at one of them!

Main Content Image Thumbnail

JS Quick Hits 2 - Array.filter() | 7th Feb 2018
Array.filter is *not* a new ES 2015 method, but it's still super useful and worth taking a look at!

Read
Main Content Image Thumbnail

JS Quick Hits 3 - Array Iterators | 14th Feb 2018
ES 2015 brings us some new, really useful iterator methods. Three, in fact. Let's check them out!

Read
Main Content Image Thumbnail

JS Quick Hits 4 - For / Of Loop | 21st Feb 2018
A new loop introduced in ES2015 plays great with iterators ... or plain old arrays.

Read
Main Content Image Thumbnail

JS Quick Hits 5 - Variable Destructuring | 28th Feb 2018
This is a personal favorite new feature of mine. Learn how to destructure your variables!

Read
Main Content Image Thumbnail

JS Quick Hits 6 - The Rest Operator | 7th Mar 2018
The rest operator makes it easier than ever to build functions that can take any number of arguments.

Read
Main Content Image Thumbnail

JS Quick Hits 7 - Template Literals | 14th Mar 2018
JavaScript's string concatenation is annoying. Template literals make it better, easier to read, and more powerful!

Read
Main Content Image Thumbnail

JS Quick Hits 8 - The Spread Operator | 22nd Mar 2018
Looking for an incredibly handy way to yank values from an Array? The Spread Operator is your new BFF.

Read
Main Content Image Thumbnail

JS Quick Hits 9 - Ternary Operators | 28th Mar 2018
Mastering this core JavaScript functionality will give you an awesome tool in any project.

Read
Main Content Image Thumbnail

JS Quick Hits 10 - Default Parameters | 4th Apr 2018
ES2015 introduces a new, less-tedious way to set defaults for your function parameters. Learn how!

Read
Main Content Image Thumbnail

JS Quick Hits 11 - Object Shorthand | 11th Apr 2018
This feature introduced with ES2015 can help remove tedious redundancy from your code!

Read
Main Content Image Thumbnail

JS Quick Hits 12 - Arrow Functions Part 1 | 18th Apr 2018
We've been using arrow functions a lot in this series ... perhaps it's time to dive into how they work!

Read
Main Content Image Thumbnail

JS Quick Hits 13 - Arrow Functions Part 2 | 25th Apr 2018
Understanding variable scope is important, particular with "this" in functions!

Read
Main Content Image Thumbnail

JS Quick Hits 14 - ES2015 Promises | 2nd May 2018
Promises are an awesome way of dealing with asynchronous data that lets you avoid callback hell!

Read
Main Content Image Thumbnail

JS Quick Hits 15 - Async / Await | 9th May 2018
Tame your promises with this awesome es2017 addition to JavaScript.

Read
Main Content Image Thumbnail

JS Quick Hits 16 - DOM Query Selectors | 17th May 2018
Did you know recent JavaScript changes have made working with the DOM much easier, no jQuery required?

Read
Main Content Image Thumbnail

JS Quick Hits 17 - Document Methods | 23rd May 2018
Make sure the DOM's loaded, then grab elements by their ID, and assign event listeners to 'em.

Read
Main Content Image Thumbnail

JS Quick Hits 18 - Nodelist vs. Array | 6th Jun 2018
Query selectors produce nodelists, not arrays, which limits what we can do with them. Let's fix that!

Read
Main Content Image Thumbnail

JS Quick Hits 19 - Import / Export | 6th Jun 2018
ES2015 lets you break your code up into multiple files and easily access the stuff you need!

Read
Main Content Image Thumbnail

JS Quick Hits 20 - Object.assign Basics | 13th Jun 2018
Object.assign is a useful tool for mashing objects together like Play-Doh. Learn how to work with it!

Read
Main Content Image Thumbnail

JS Quick Hits 21 - Object.assign Issues | 20th Jun 2018
There are a couple of gotchas that you need to be aware of when working with Object.assign. Also … bonus tutorial content!

Read
Main Content Image Thumbnail

JS Quick Hits 22 - Prototypes Part 1 | 27th Jun 2018
JavaScript is entirely built around prototype inheritance. Let's get started learning how it works!

Read
Main Content Image Thumbnail

JS Quick Hits 23 - Prototypes Part 2 | 4th Jul 2018
Last week, we explained what prototypes were. Now let's learn how to make your own!

Read
Main Content Image Thumbnail

JS Quick Hits 24 - Property Enumerability | 11th Jul 2018
Now that we know how to build constructors and prototype methods, let's keep our objects clean with enumerability.

Read
Main Content Image Thumbnail

JS Quick Hits 25 - Array.forEach | 18th Jul 2018
There are many ways to loop through an Array, and forEach has some nice behaviors.

Read
Main Content Image Thumbnail

JS Quick Hits 26 - ES2015 String Methods | 25th Jul 2018
ES2015 brings many quality of life improvements to JavaScript. These new string methods are some of them.

Read
Main Content Image Thumbnail

JS Quick Hits 27 - ES2015 Number Improvements Part 1 | 1st Aug 2018
Much like strings, numbers got some quality of life improvements in ES 2015. Let's take a look!

Read
Main Content Image Thumbnail

JS Quick Hits 28 - ES2015 Number Improvements Part 2 | 8th Aug 2018
More numbers this week as we wrap up the quality of life improvements introduced in ES 2015.

Read
Main Content Image Thumbnail

JS Quick Hits 29 - Bubble Sort | 16th Aug 2018
Coders need to sort data. The Bubble Sort is an easy, convenient way to do it!

Read
Main Content Image Thumbnail

JS Quick Hits 30 - Array.sort | 22nd Aug 2018
For simple sorts, you don't need to write your own algorithm. JavaScript's built-in functionality is here to help!

Read
Main Content Image Thumbnail

JS Quick Hits 31 - Node Module 1 - Node Basics | 29th Aug 2018
We're going to create our own node module! But first, let's talk about what Node.js is.

Read
Main Content Image Thumbnail

JS Quick Hits 32 - Node Module 2 - Building the Module | 5th Sep 2018
Now that we've played around with Node.js a bit, let's write the code for our module, and test it!

Read
Main Content Image Thumbnail

JS Quick Hits 33 - Node Module 3 - Package the Module | 12th Sep 2018
We've written our module and tested it. All that's left to do is get it up on NPM, so let's do that!

Read
Main Content Image Thumbnail

JS Quick Hits 34 - Reader Question - Array.reduce | 19th Sep 2018
This week we try something different, taking a look at a piece of code a reader sent in, and refactoring it several ways.

Read
Main Content Image Thumbnail

JS Quick Hits 35 - Array.push and Array.pop | 26th Sep 2018
Let's keep it simple this week and talk about two array methods every developer should know.

Read
Main Content Image Thumbnail

JS Quick Hits 36 - Comparisons with Logical Operators | 3rd Oct 2018
Sometimes a ternary operator's more complex than necessary. Logical operators can keep code simple.

Read
Main Content Image Thumbnail

JS Quick Hits 37 - Immutability Basics | 10th Oct 2018
Let's talk about data, specifically mutable and immutable data, and the difference between the two.

Read
Main Content Image Thumbnail

JS Quick Hits 38 - Immutable Approaches | 17th Oct 2018
We've talked about what immutability is, now let's talk about how to code with it in mind!

Read
Main Content Image Thumbnail

JS Quick Hits 39 - Intro to Immutable.js | 24th Oct 2018
Immutable.js allows you to work with fully immutable data. Let's take a quick look!

Read
Main Content Image Thumbnail

JS Quick Hits 40 - Increment / Decrement Operators | 31st Oct 2018
Where you place your operator can have a significant impact on your code. Let's talk about why.

Read
Main Content Image Thumbnail

JS Quick Hits 41 - Immutable Maps | 7th Nov 2018
We're back to talk more about Immutable.js, this time covering maps, which are like objects … only better!

Read
Main Content Image Thumbnail

JS Quick Hits 42 - Code Refactoring With FizzBuzz! | 14th Nov 2018
We're going to take a dive into refactoring code with a classic "does this person know how to program" test.

Read
Main Content Image Thumbnail

JS Quick Hits 43 - Semicolon Insertion | 21st Nov 2018
JS engines will do some of your work for you, if you want, but be careful!

Read
Main Content Image Thumbnail

JS Quick Hits 44 - Node File System Part 1 | 28th Nov 2018
Node.js lets you manipulate files on your drive, which is great for writing utility apps. Let's take a look!

Read
Main Content Image Thumbnail

JS Quick Hits 45 - Node.js File System Part 2 | 5th Dec 2018
Now that we know how to read files, let's learn how to write them, and create directories as well.

Read
Main Content Image Thumbnail

JS Quick Hits 46 - Recursion Demystified | 12th Dec 2018
Recursive functions can be tricky. Let's take it step by step and see how they work!

Read
Main Content Image Thumbnail

JS Quick Hits 47 - Recursion Continued | 12th Dec 2018
Now that we get the basics of recursion, let's use it to iterate over an object with a simple function!

Read