Map in JavaScript and when it’s a … On June 30, 2022July 2, 2022 by Amitav Mishra The Map object stores data in key-value pairs similar to the regular objects in JavaScript. Unlike
Difference between Object.freeze(), Obje … On May 3, 2022November 30, 2022 by Amitav Mishra The freeze(), seal(), and preventExtensions() methods of Object help us in securing any JavaScript
A brief guide to Object.defineProperty() … On February 16, 2022July 9, 2022 by Amitav Mishra The Object.defineProperty() method adds or modifies a property in an object. We can use this method
JavaScript getters and setters On January 29, 2022January 30, 2022 by Amitav Mishra The getters and setters are helpful to access object properties and manipulate them in an
JavaScript Set object to store unique va … On December 11, 2021September 14, 2022 by Amitav Mishra The Set in JavaScript is a special type of object which lets us store unique values. It works for
Generator functions in JavaScript On October 18, 2021December 1, 2022 by Amitav Mishra JavaScript Generators are a special type of function which lets you suspend the function execution
Different ways to check if a key exists … On July 18, 2021November 30, 2022 by Amitav Mishra There are various ways available in JavaScript to check if a key or property is present in an
The Vibration API in JavaScript On May 28, 2021August 15, 2023 by Amitav Mishra Vibrations are the best way to provide physical feedback to users for any action, mostly for mobile