---
title: "Discussion on \"Writing Modular Code with JavaScript\" | Hashnode"
description: "Discussion on \"Writing Modular Code with JavaScript\". Find a needle in the haystack. Let us try to take it literally. Suppose Mr Beast came up to you and asked you to find the needle in the Haystack as fast as possible. How would you approach it?\nTo me,"
url: "https://hashnode.com/posts/writing-modular-code-with-javascript/69e628221faed8cd14a5eecf"
---

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

Discussion

# [Writing Modular Code with JavaScript](https://js-arr-functs.hashnode.dev/writing-modular-code-with-javascript?utm_source=hashnode&utm_medium=feed)

Find a needle in the haystack. Let us try to take it literally. Suppose Mr Beast came up to you and asked you to find the needle in the Haystack as fast as possible. How would you approach it? To me,

Apr 20 · 6 min read · js-arr-functs.hashnode.dev  
Read the article

-   [#es-modules](https://hashnode.com/tag/es-modules)
-   [#modularity](https://hashnode.com/tag/modularity)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#commonjs](https://hashnode.com/tag/commonjs)
-   [#esm-javascript](https://hashnode.com/tag/esm-javascript)
-   [#import-export](https://hashnode.com/tag/import-export)
-   [#named-exports](https://hashnode.com/tag/named-exports)
-   [#default-exports](https://hashnode.com/tag/default-exports)

## Written by

[Parikar Agarwal](https://hashnode.com/@infouser)

@infouser

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

Collect what they have left behind for you

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
