Last time I introduced you to asynchronous programming, and talked about JavaScripts most basic mechanism for dealing with this, callbacks. As we saw last time, code readability and easy error handling were lacking when using callbacks. In this post I will teach you about probably the most widely used solution
Javascript: var, const, let, What’s The Difference?
In The Beginning, There Was var Not so long ago, back in the days of ES5, there was only one keyword used to define a variable: var. Var has two possible types of scope: function scope and global scope. The following example demonstrates this: Variable declarations with var can trip
Mastering Asynchronous Javascript: Part 1 – Callback Hell
The Asynchronous Nature of Javascript Asynchronous programming plays a very important part in JavaScript development. Asynchronicity means that events can come in any order rather than the code just following a predictable, linear path. This can be a confusing for the budding developer, as many people expect a result as