We are going to walk through the JavaScript map function, and I’ll explain how it works in a simple way. Later in the article, we will do a deep dive into some more advanced concepts regarding the map function and its uses. Map Function Syntax From Mozill... (more…)
Read more »
Foundation HTML5 Animation with JavaScript, by Billy Lamberta and Keith Peters, covers everything that you need to know to create dynamic, scripted animations using the HTML5 canvas. (more…)
Read more »
I am trying to print an integer in JavaScript with commas as thousands separators. For example, I want to show the number 1234567 as "1,234,567". How would I go about doing this? (more…)
Read more »
A note on how to use reduce method beyond summing up an array of numbers. (more…)
Read more »
One of the new features in ES6 is a new type of function, a generator function. You’ve probable heard of them. They are defined almost like normal functions, but instead of function, you use functi... (more…)
Read more »