This is a short post intended to show the many different ways on how to safely access deeply nested values in JavaScript. The following examples all do the same thing and while they may vary in… (more…)
Read more »
Prime numbers (those that are divisible by only themselves and one) are mathematically wild. Unlike, say, the even numbers, the primes famously elude the capture and discipline of a neat mathematical formula. Compare: For any given even number, we have a ... (more…)
Read more »
Every function in JavaScript has a closure. And this is one of the coolest features of the JavaScript language. Because without closures… (more…)
Read more »
Javascript landed with native default parameters support with ES2015. Contrary to what one might think, it isn’t just a syntactic… (more…)
Read more »