JavaScript Async & Await

JavaScript Async & Await

Introduction In JavaScript, there are two keywords that are new in es7. These awesome keywords are async and await. They allow developers to write asynchronous code in a synchronous way. Asynchronous code is run independently of the execution order of the program;...
JS Promises

JS Promises

JavaScript Promises Promises are the new kid on the block when it comes to handling asynchronous functions in JavaScript. But, before we can talk promises, we have to talk about asynchronous briefly. Asynchronous Functions And Callback Triangle Asynchronous functions...
JavaScript Callback Functions

JavaScript Callback Functions

Introduction Callback functions are a concept that should be explained because you’ll see them constantly in JavaScript. Functions are objects so we can pass them as parameters; this important key makes callback functions viable. Today, we explain what are...
JavaScript Map Object

JavaScript Map Object

The Map Object In ES6, JavaScript added a new Map class. The Map class is very similar to the standard object class, with a few differences. Today, we’re going over when to use and why to use them. Why Map Map, unlike the object class, does not have extra keys...
JavaScript Arrow Functions

JavaScript Arrow Functions

Introduction Functions are a collection of instructions that are used to accomplish a task. In JavaScript, there are two types of functions you’ll see often; the standard function and the arrow function. Now, there are some key characteristics that separate...
JavaScript Variables

JavaScript Variables

Every programming languages come with basic building blocks; variables are one of those blocks. Variables are the storage compartments that make dreams come true. In this chapter, we’ll be discussing a variable’s purpose and scope. Purpose Of...