Building with Modules

 In this chapter, we will cover the following recipes:

  • Installing and configuring browsers—Chrome and Firefox
  • Installing Python, using SimpleHTTPServer to host a local static file server
  • Creating an HTML page that loads an ECMAScript module
  • Exporting/importing multiple modules for external use
  • Renaming imported modules
  • Nesting modules under a single namespace

Get ECMAScript Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.