---
title: "Hammad Raza (@Muhammad-Hammad12) | Hashnode"
description: "Coder. Read the latest articles by Hammad Raza on Hashnode."
url: "https://hashnode.com/@Muhammad-Hammad12"
---

@Muhammad-Hammad12

# Hammad Raza

@Muhammad-Hammad12 · Joined January 2026

Coder

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

Introduction: Imagine opening a box and finding another box inside it. Then another. And another. That is exactly what nested arrays look like in JavaScript. const data = \[1, \[2, \[3, \[4\]\]\]\]; At first

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

[May 10](https://hashnode.com/posts/array-flatten-in-javascript/6a0038d9e3eebc2e204b771e)

### [JavaScript Modules: Import and Export Explained](https://javascriptmodulesimport.hashnode.dev/javascript-modules-import-and-export-explained?utm_source=hashnode&utm_medium=feed)

Description: Learn JavaScript modules with easy examples. Understand import and export, default vs named exports, modular code structure, maintainability benefits, and best practices for modern JavaSc

7 min read · [javascriptmodulesimport.hashnode.dev](https://javascriptmodulesimport.hashnode.dev/javascript-modules-import-and-export-explained?utm_source=hashnode&utm_medium=feed)

[May 9](https://hashnode.com/posts/javascript-modules-import-and-export-explained/69ff9372f239332df4f50343)

### [Async Code in Node.js: Callbacks and Promises](https://javascriptobject.hashnode.dev/async-code-in-node-js-callbacks-and-promises?utm_source=hashnode&utm_medium=feed)

Description:Learn how asynchronous code works in Node.js using callbacks and promises. Understand callback flow, callback hell, promise chaining, and modern async programming with practical examples I

7 min read · [javascriptobject.hashnode.dev](https://javascriptobject.hashnode.dev/async-code-in-node-js-callbacks-and-promises?utm_source=hashnode&utm_medium=feed)

[May 9](https://hashnode.com/posts/async-code-in-node-js-callbacks-and-promises/69ff0364f239332df483c14e)

### [Objects in JavaScript.](https://javascriptobject.hashnode.dev/objects-in-javascript?utm_source=hashnode&utm_medium=feed)

In real-world applications, data is rarely stored as single values. Most of the time, we need to store related information together. For example, if we want to store information about a person, we mig

2 min read · [javascriptobject.hashnode.dev](https://javascriptobject.hashnode.dev/objects-in-javascript?utm_source=hashnode&utm_medium=feed)

[Mar 15](https://hashnode.com/posts/objects-in-javascript/69b6fa4ef4eb2f8b04ca6656)

### [Control Flow in JavaScript: If, Else, and Switch Explained.](https://swwitchjs.hashnode.dev/control-flow-in-javascript-if-else-and-switch-explained?utm_source=hashnode&utm_medium=feed)

Every program needs the ability to make decisions. Sometimes the program must run one block of code, and sometimes another. This decision-making process is called control flow. In JavaScript, we contr

3 min read · [swwitchjs.hashnode.dev](https://swwitchjs.hashnode.dev/control-flow-in-javascript-if-else-and-switch-explained?utm_source=hashnode&utm_medium=feed)

[Mar 15](https://hashnode.com/posts/control-flow-in-javascript-if-else-and-switch-explained/69b6f76ff4eb2f8b04c72c69)
