Monthly Archives: January 2018


JS Learnings – 2

Simple JavaScript function. Functions with additional or missing arguments Making the add function smarter In the previous example, when the function receives less than three parameters, then it would return NaN. This example fixes that by checking if the incoming parameter is undefined or null and then substituting that with […]


JS Learnings – 1

JavaScript is dynamically typed. This unassumingly simple feature is one of the most powerful strengths of the language. As your experience with the language evolves you will appreciate the less ceremony involved in creating variables   JavaScript has types that are not common in other languages. Type such as “undefined” […]