Arrow Functions

Learn Arrow Functions in ES6

You don’t need to have kept up with every ES6 change to know about Arrow functions, they’ve been the source of much talk and some confusion (at least initially) to JavaScript developers. I just want to point out how arrow functions provide a method for condensed code for simple functions: // Adds a 10% tax to total Normal Function Declaration – function calculateTotal (total){ return … Continue reading Learn Arrow Functions in ES6

Asynchronous

Easy way to learn Asynchronous JavaScript Callbacks

Functions in JavaScript are treated as first-class objects. This means that they have a type of Object and can be referenced like any other first-class object, such as Date, Number, and String. This may seem obvious to you, but it’s important to remember that the nature of functions in JavaScript are quite different then, for example, methods in Ruby. So what does this mean? Since … Continue reading Easy way to learn Asynchronous JavaScript Callbacks

OpenRates Currency API

Learn OpenRates Currency API

Today’s topic is OpenRates Currency API. Creating your own APIs can be a total nightmare: worrying about uptime, load balancing, data accuracy, caching, and all of the other risks would keep me up at night. And if your API relates to money in any way? If you get that wrong you could be costing yourself, your employer, or your client a ton of money. I’ve … Continue reading Learn OpenRates Currency API

JS-Null vs. Undefined

Understand Null and Undefined and their differences

Null and Undefined, two are very important terms in the coding world. So, let’s learn about Null – Null basically means if you have nothing to show, you can put null in your code. Look at the example below of Null – var d = null; here, the value of variable d is null means nothing. You cannot do anything with this. Null is not … Continue reading Understand Null and Undefined and their differences