Utilising Destructuring Assignment and Default Parameters
Sometimes you need to extract one property from an object, and if that property doesn't exist, you need to return a default value. Traditionally »
Sometimes you need to extract one property from an object, and if that property doesn't exist, you need to return a default value. Traditionally »
ECMAScript 2015 introduced Maps to the language. If you've checked these out, you'll notice that Maps and Objects are very similar, but »
I wanted to share another technique for determining if a number is odd/even in JavaScript - or any other programming language. The common solution to »
ES6 has introduced a new way to declare variables, the let keyword. This means we now have two methods of declaring variables, var and let. But »