Promises in JavaScript

A Promise is a proxy for a value not necessarily known when the promise is created. It allows you to associate handlers with an asynchronous action's eventual success value or failure reason. This lets asynchronous methods return values like synchronous methods: instead of immediately returning the final value, the asynchronous method returns a promise to supply the value at some point in the future.

good enginnering

ECMAScript 6 - ECMAScript 2015

Here we will learn all new features realted to ECMAScript 6 or ECMAScript 2015 or ES6. Few features like let, const,Arrow functions, Classes, Default parameter values, Array.find(), Array.findIndex() and other topics. We also learn here how to define …

read more

ECMAScript 5 - JavaScript 5 or ES5

ECMAScript 5 is also known as ES5 and ECMAScript 2009. Here we learn features related to ES5. Some features like 'use strict', Getters & Setters, Array functions, String functions & JSON methods. Currently almost all the browsers support ES5. …

read more