---
title: "Discussion on \"JavaScript Modules: Import and Export\" | Hashnode"
description: "Discussion on \"JavaScript Modules: Import and Export\". Learn how to import and export in JS and understand the modularity of code and the beginner mistakes in this section."
url: "https://hashnode.com/posts/import-export/69e85b52e436727814dac223"
---

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

Discussion

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

Learn how to import and export in JS and understand the modularity of code and the beginner mistakes in this section.

Apr 22 · 7 min read · saurav26.hashnode.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#import-export](https://hashnode.com/tag/import-export)
-   [#modularity](https://hashnode.com/tag/modularity)

## Written by

[Saurav Pratap Singh](https://hashnode.com/@saurav26)

@saurav26

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

Developer

## Responses 1

Markdown supported · ⌘↵ to post

[Monaliza Sahoo](https://hashnode.com/@monalozo)

[Apr 22](https://hashnode.com/posts/import-export/69e85b52e436727814dac223/comment/69e86205e436727814dfd9f5)

Well written and easy to understand. I especially liked the diagrams you included to explain.. lookin forward to your next post ..🫱🏼‍🫲🏽
