JavaScript

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 2, 2023   |    Mohit Sood
Core Web Vitals: Your Guide to a User-Centric Web Experience

In today's fast-paced digital landscape, having a website that not only looks good but also performs well is crucial for success. Web Vitals, a set of metrics introduced by Google to help website owners and developers gauge the overall user experience and performance of their websites. In this blog post, we'll dive ...

blog
September 9, 2023   |    Mohit Sood
Efficiency and Reliability: Exploring Service Workers in JavaScript

Overview


In the ever-evolving landscape of web development, creating fast, responsive, and reliable web applications is a top priority. Service workers allows developers to build web applications with improved performance, offline capabilities, and enhanced user experiences. In ...

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
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
May 18, 2024   |    Mohit Sood
Understanding Layout Shift in Core Web Vitals: Tips to Keep Your Website Smooth

Have you ever been browsing a website , and just as you are about to click on something, the page suddenly jumps, causing you to click on the wrong link ? That annoying experience is what we call a layout shift . In this article we will learn what a layout shift is and how you can minimize it to create a smoother, ...

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