About 198,000 results
Open links in new tab
  1. JavaScript modules - JavaScript | MDN - MDN Web Docs

    May 14, 2019 · The modules directory's two modules are described below: canvas.js — contains functions related to setting up the canvas: create() — creates a canvas with a specified width …

  2. JavaScript Modules - W3Schools

    JavaScript modules allow you to break up your code into separate files. This makes it easier to maintain a code-base. Modules are imported from external files with the import statement. …

  3. JavaScript Modules - GeeksforGeeks

    Feb 19, 2025 · In JavaScript, modules are a fundamental feature for organizing, structuring, and reusing code. A module is simply a chunk of code that can be reused in different parts of a …

  4. JavaScript Modules – Explained with Examples

    Jul 28, 2021 · A module in JavaScript is just a file containing related code. In JavaScript, we use the import and export keywords to share and receive functionalities respectively across …

  5. JavaScript Modules Explained: A Comprehensive Guide With …

    Dec 12, 2023 · A JavaScript module is a self-contained unit of code that encapsulates related variables, functions, and classes, allowing them to be imported and used in other parts of a …

  6. Modules, introduction - The Modern JavaScript Tutorial

    Oct 14, 2022 · One script is one module. As simple as that. Modules can load each other and use special directives export and import to interchange functionality, call functions of one module …

  7. JavaScript Modules - Programiz

    Instead of putting everything in a single file, you can use modules to separate codes in separate files as per their functionality. This makes our code organized and easier to maintain. Module …

  8. Mastering JavaScript Modules: A Comprehensive Guide - W3docs

    JavaScript modules help you manage large code projects by letting you split your code into separate, reusable parts. This guide dives into how to use JavaScript modules effectively, …

  9. JavaScript Modules: A Comprehensive Tutorial

    Oct 7, 2024 · JavaScript modules are supported natively using the import and export keywords in modern JavaScript environments (ES6 and beyond). This tutorial will cover how to use …

  10. What are JavaScript Modules and How They Improve Code …

    Feb 25, 2025 · JavaScript modules are self-contained units of code that encapsulate functionality. They allow you to export variables, functions, classes, or objects from one file and import them …

  11. Some results have been removed
Refresh