---
title: "Discussion on \"JS Modules - import & export \" | Hashnode"
description: "Discussion on \"JS Modules - import & export \". The problem :\nBefore the ES6 update there was not modules like import and export were present in js , so why we required the modules if before the update the program were created. So why needed it the"
url: "https://hashnode.com/posts/js-modules-import-export/69e4b750a0987426088951c7"
---

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

Discussion

# [JS Modules - import & export](https://javascript-insights-by-rohit.hashnode.dev/js-modules-import-export?utm_source=hashnode&utm_medium=feed)

The problem : Before the ES6 update there was not modules like import and export were present in js , so why we required the modules if before the update the program were created. So why needed it the

Apr 19 · 5 min read · javascript-insights-by-rohit.hashnode.dev  
Read the article

-   [#chaicode-webdev-cohort-2026](https://hashnode.com/tag/chaicode-webdev-cohort-2026)
-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#js-modules](https://hashnode.com/tag/js-modules)

## Written by

[Rohit Ingale](https://hashnode.com/@rohit0667)

@rohit0667

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
