Tag: es6
-
Simplifying Maps in the JavaScript
Maps is a data structure, which stores the key/value pair in an ordered way. Since the inception of the JavaScript, objects are primarily used for the map. Consider the below code listing: To store two key/value pairs, we have created an object foo and using the keys such as id and color to retrieve…
-
Video : Why to use the Proxy object in JavaScript
The JavaScript Proxy object is a virtualizing interface to control the behavior of the object. It adds custom behavior to basic operations of the object. In this video you learn , Why to use the Proxy object in JavaScript.
-
What is “let” statement in JavaScript?
Using the let statement, you can create Block scoped local variables in JavaScript. The let statement was introduced in the ECMAScript 6 standard of JavaScript. Before ECMAScript 6, JavaScript had three types of scoping: Global scoping Functional scoping Lexical scoping To explore let statement in detail, consider the code snippet given below: This file contains…