JS

blog
July 19, 2021   |    Mohit Sood
Higher Order Functions in JavaScript

In this post, we will learn about Higher Order Functions and why they are useful. You may be already using them without knowing that they are Higher Order Functions.


Let's start by going through the definition of Higher Order Functions :


A function that takes ...

blog
September 12, 2023   |    Mohit Sood
The Magic of JavaScript Closures: A Developer's Guide

Introduction


JavaScript closures are a versatile and powerful feature of the language that can significantly impact your code's functionality and maintainability. While closures might seem complex at first, they are an essential concept for any JavaScript developer to master. In ...

blog
September 18, 2023   |    Mohit Sood
"Inside JavaScript: Exploring the Call Stack and Memory Heap"

Overview


As a Javascript developer, you might have heard of "Call Stack" & "Memory Heap" in the context of your code's execution. In this article , we will explore what call stack and memory heap are , how they interact and why they matter in ...

blog
September 22, 2023   |    Mohit Sood
Mastering JavaScript Performance Optimization

Overview

JavaScript is a versatile and powerful programming language that plays a pivotal role in modern web development. It's responsible for creating dynamic, interactive, and responsive web applications. However, as your projects grow in complexity, JavaScript performance optimization ...

blog
October 4, 2023   |    Mohit Sood
Exploring JavaScript's Object.freeze and Object.seal

JavaScript provides several methods to control the mutability of objects, ensuring that their properties remain unchanged or restricted from certain modifications. Two such methods are Object.freeze() and Object.seal(). In this blog post, we'll dive into these methods, understand their differences, and explore when ...

blog
October 11, 2023   |    Mohit Sood
Exploring the Power of AbortController in JavaScript

Introduction


JavaScript has come a long way in terms of providing developers with powerful tools to manage asynchronous operations. One such tool that has gained popularity in recent years is the AbortController. This feature allows us to cancel asynchronous tasks and provides ...

blog
October 27, 2023   |    Mohit Sood
Building Accessible Web Applications with React: A Comprehensive Guide to a11y

Introduction


Web accessibility, often referred to as a11y (short for accessibility), is a crucial aspect of web development that ensures that digital content is usable by all, including individuals with disabilities. When it comes to building web applications, React provides ...

blog
February 13, 2024   |    Mohit Sood
Writing Optimized JavaScript Code by Leveraging Hidden Classes

JavaScript's performance can be significantly enhanced by understanding and leveraging hidden classes, an optimization technique employed by JavaScript engines such as V8. Hidden classes optimize property access, leading to faster execution of code. By adhering to best practices that align with hidden class ...

blog
September 20, 2024   |    Mohit Sood
Understanding the this keyword in JavaScript: A Complete Guide

The "this" keyword is the most important and also super confusing concept in JavaScript. It dynamically binds to different objects depending on how and where it is used. Misunderstanding of "this" keyword can lead to unexpected behaviour and bugs, especially in more complex applications. In this ...

blog
September 23, 2024   |    Mohit Sood
Polyfiils in JavaScript

Introduction

As JavaScript evolves, new features are constantly added to improve its efficiency , usability and power. However all these features are not supported by old browsers , so we need a magical power here such that this features can be understood by the old browsers . Can you guess ...

© 2024 - Mohit Sood. Made with