---
title: "Discussion on \"JavaScript Modules: Import and Export Explained\" | Hashnode"
description: "Discussion on \"JavaScript Modules: Import and Export Explained\". Hi, welcome to a new article. In this article we will understand import and export in JavaScript modules. So let's get started.\nWhy modules are needed\nBefore understanding why modules are needed, let'"
url: "https://hashnode.com/posts/javascript-modules-import-and-export-explained/69e33550974506f6b3ad8c7b"
---

[Feed](https://hashnode.com/feed) /

Discussion

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

Hi, welcome to a new article. In this article we will understand import and export in JavaScript modules. So let's get started. Why modules are needed Before understanding why modules are needed, let'

Apr 18 · 3 min read · dheerajtanwar.hashnode.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#chaicode-webdev-cohort-2026](https://hashnode.com/tag/chaicode-webdev-cohort-2026)
-   [#modular-programming](https://hashnode.com/tag/modular-programming)

## Written by

[Dheeraj Tanwar](https://hashnode.com/@dheerajtanwar)

@dheerajtanwar · Rajasthan, India

  
[View profile](https://hashnode.com/@dheerajtanwar)

Exploring.....

I am a software developer. I have no commitments other than \`git commit\`.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
