---
title: JavaScript Modules
category: js
bugzilla: 1240072
firefox_status: 60
mdn_url: https://hacks.mozilla.org/2015/08/es6-in-depth-modules/
spec_url: https://tc39.github.io/ecma262/#sec-modules
spec_repo: https://github.com/tc39/ecma262
caniuse_ref: es6-module
webkit_ref: modules
chrome_ref: 5365692190687232
ie_ref: Modules ES6
---

Modules allow for easy modularization and encapsulation of JavaScript code across separate files.

---
title: JavaScript Modules
category: js
bugzilla: 1240072
firefox_status: 60
mdn_url: https://hacks.mozilla.org/2015/08/es6-in-depth-modules/
spec_url: https://tc39.github.io/ecma262/#sec-modules
spec_repo: https://github.com/tc39/ecma262
caniuse_ref: es6-module
webkit_ref: modules
chrome_ref: 5365692190687232
ie_ref: Modules (ES6)
---

Modules allow for easy modularization and encapsulation of JavaScript code across separate files.

Fix the IE ref for modules
Fix the IE ref for modules