---
title: "Mohit Agrawal (@mohithnd) | Hashnode"
description: "googol. Read the latest articles by Mohit Agrawal on Hashnode."
url: "https://hashnode.com/@mohithnd"
---

@mohithnd

# Mohit Agrawal

@mohithnd · Joined January 2026

googol

### [Array Flatten in JavaScript](https://arrayflatteninjavascript-mohit.hashnode.dev/array-flatten-in-javascript?utm_source=hashnode&utm_medium=feed)

The Russian Doll Problem Imagine you're looking for your car keys. You check the drawer, and inside the drawer, there's a box. You open the box, and inside that box, there's a pouch. You open the pouc

12 min read · [arrayflatteninjavascript-mohit.hashnode.dev](https://arrayflatteninjavascript-mohit.hashnode.dev/array-flatten-in-javascript?utm_source=hashnode&utm_medium=feed)

[Mar 21](https://hashnode.com/posts/array-flatten-in-javascript/69be842e475ca17974a7f956)

### [JavaScript Modules: Import and Export Explained – Stop Writing Spaghetti Code](https://javascriptmodulesimportandexportexplained-mohit.hashnode.dev/javascript-modules-import-and-export-explained-stop-writing-spaghetti-code?utm_source=hashnode&utm_medium=feed)

The "One Giant File" Nightmare Imagine you're building a LEGO castle. You have 10,000 bricks, but instead of organizing them into bags by color and shape, you dump them all into one giant pile. Every

7 min read · [javascriptmodulesimportandexportexplained-mohit.hashnode.dev](https://javascriptmodulesimportandexportexplained-mohit.hashnode.dev/javascript-modules-import-and-export-explained-stop-writing-spaghetti-code?utm_source=hashnode&utm_medium=feed)

[Mar 21](https://hashnode.com/posts/javascript-modules-import-and-export-explained-stop-writing-spaghetti-code/69be8224475ca17974a69773)

### [JavaScript Arrays 101: Your First Step Into Organized Data](https://javascriptarrays101-mohit.hashnode.dev/javascript-arrays-101-your-first-step-into-organized-data?utm_source=hashnode&utm_medium=feed)

The Grocery List Problem Imagine you're going to the grocery store. How would you remember what to buy? Without a list: "I need milk... and eggs... oh, and bread... wait, did I forget something?" Wi

7 min read · [javascriptarrays101-mohit.hashnode.dev](https://javascriptarrays101-mohit.hashnode.dev/javascript-arrays-101-your-first-step-into-organized-data?utm_source=hashnode&utm_medium=feed)

[Mar 15](https://hashnode.com/posts/javascript-arrays-101-your-first-step-into-organized-data/69b6863005c006164c03318e)

### [The Magic of this, call(), apply(), and bind() in JavaScript](https://themagicofthiscallapplyandbindinjavascript-mohit.hashnode.dev/the-magic-of-this-call-apply-and-bind-in-javascript?utm_source=hashnode&utm_medium=feed)

The "Who Called Me?" Mystery Imagine you're at a party and someone shouts "Hey, come here!" You'd naturally look around to see who is calling you. The same thing happens in JavaScript with the this ke

8 min read · [themagicofthiscallapplyandbindinjavascript-mohit.hashnode.dev](https://themagicofthiscallapplyandbindinjavascript-mohit.hashnode.dev/the-magic-of-this-call-apply-and-bind-in-javascript?utm_source=hashnode&utm_medium=feed)

[Mar 15](https://hashnode.com/posts/the-magic-of-this-call-apply-and-bind-in-javascript/69b682e605c006164cff5a8f)

### [Array Methods You Must Know: Master JavaScript Arrays Like a Pro](https://arraymethods-mohit.hashnode.dev/array-methods-you-must-know-master-javascript-arrays-like-a-pro?utm_source=hashnode&utm_medium=feed)

Why Arrays Need Methods Imagine you have a box of LEGO bricks. You can: Add new bricks → push() Remove bricks → pop() Double every brick → map() Keep only red bricks → filter() Count total studs

6 min read · [arraymethods-mohit.hashnode.dev](https://arraymethods-mohit.hashnode.dev/array-methods-you-must-know-master-javascript-arrays-like-a-pro?utm_source=hashnode&utm_medium=feed)

[Mar 2](https://hashnode.com/posts/array-methods-you-must-know-master-javascript-arrays-like-a-pro/69a5a9bbe8e1f9df72bb5727)
