Tag: ES6

Learn Core JavaScript in 20 Minutes

JavaScript is a very famous programming language among developers. It is a high-level, object-oriented, event-based, and multi-paradigm programming language. So nowadays, everybody talking about JavaScript and how they can learn JavaScript.

Read More »

JavaScript for…of Loop

A lot of powerful loops in javascript but for-of is a new loop in ES6 that replaces both for-in and forEach() and supports the new iteration protocol. Use it to loop over iterable objects (Arrays, strings, Maps, Sets,…

Read More »

JavaScript ES6 Arrow Functions

The arrow function is taken from CoffeeScript (a trans-compiled language). The arrow function is also called the “fat arrow” function.

Read More »

JavaScript Promises

As we discussed callback is in the callback function section and a lot of time it is very useful in our daily life programming but when we scale our project a lot of callbacks can create readability issues…

Read More »

JavaScript Map and WeakMap

Map and WeakMap are like regular JavaScript objects. Both are data structures composed of a collection of key/value pairs.

Read More »

JavaScript Set and WeakSet

Set and WeakSet are like JavaScript arrays but are more potent than an array. Both are data structures composed of a unique value.

Read More »

Learn ES6 in 20 Minutes

Javascript is the most popular scripting language nowadays which works on ECMAScript specifications. After the success of the ES5. Javascript 6 edition or ES6 is the most demanding among programmers. So in this article, we will cover an…

Read More »

JavaScript Template Strings

String Interpolation is the way by which we can insert variables into a string. In JavaScript, We have two types of String Interpolation.

Read More »

JavaScript Destructuring

Destructuring Destructuring is a way to quickly extract data out of an {} or [] without having to write much code. ES5 Way // Assigning From Array to Local Variables let direction = ["East", "West", "North", "South"]; let…

Read More »

JavaScript Classes

Es6 introduces a lot of powerful keywords in javascript and class is one of those powerful keywords. Before es6 in javascript, we didn’t have any keywords to manage the class. A class describes how to make an object…

Read More »