Deepesh Agrawal

Deepesh Agrawal is a Senior Software Engineer at To The New company with over 7 years of experience in Full Stack Development. He works within Americas BU. He has worked in multiple domains, including Shipping, logistics. He is well-versed in Angular, React.js, and Node.js.

JS

JavaScript Event Loop: The Heartbeat of Asynchronous Programming

JavaScript, despite being a single-threaded language, handles multiple tasks simultaneously through its powerful event loop. Whether you're fetching data from an API, handling user interactions, or processing large datasets, the event loop ensures that your application remains responsive and efficient. But how does this process work under...

09-Sep-2024

Front End Development, MEAN

Creating Polyfills for map, filter, and reduce Array Methods

In this blog post, we embark on a journey to explore the inner workings of these fundamental array methods and learn how to craft polyfills for them. So, let's roll up our sleeves and dive into the world of JavaScript polyfills, unlocking the true potential of our favorite programming language. Pollyfill for Array.map() ...

27-Mar-2024

Front End Development, MEAN

Running in Parallel: Exploring Parallel Promise Execution with Promise Methods

When we have multiple promises, and we have to execute them parallelly, then we have plenty of promise methods to achieve that based on the requirement. Let's explore those methods of Promises:: Promise.all() Promise.allSettled() Promise.race() Promise.any() Promise.all() The Promise.all() static method takes an...

23-Mar-2024

Front End Development, MEAN

Unraveling JavaScript Promises: A Solution to Callback Hell

Before the widespread adoption of promises, callback hell was a common issue in JavaScript.  Callback hell refers to the situation where multiple nested callbacks are used to handle asynchronous operations, leading to code that is difficult to read, understand, and maintain.In callback hell, asynchronous functions would often be nested...

20-Mar-2024

Front End Development

Closures in Javascript

Understanding closures is like unlocking a hidden treasure within the world of JavaScript development. In this step-by-step guide, we'll delve into the intricacies of closures, unraveling their mysteries and exploring the advantages they bring to your code. What is a Closure ? A closure in JavaScript is formed when a function is defined...

29-Feb-2024