JavaScript Modules: From IIFEs to CommonJS to ES6 Modules





The interactive transcript could not be loaded.


Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Jan 15, 2019

Consistently the most commonly under-learned aspect of JavaScript is the module system. There's good reason for that. Modules in JavaScript have a strange and erratic history. In this post we'll walk through that history and you'll learn modules of the past to better understand how JavaScript modules work today.

You can find the full post here -

This is part of our "Advanced JavaScript" course -

I’m not good at writing sales copy, just trust me that if you use JavaScript in any capacity, there’s probably not another resource that will benefit you more than this. This course was years in the making. I took everything I know about JavaScript and all my experience teaching it over the last half decade and put it into this one course.

We’ll cover topics like
✅ Execution Contexts
✅ Blocking vs Non Blocking IO
✅ Scopes
✅ The Scope Chain
✅ The Event Loop
✅ Closures
✅ Hoisting
✅ Instantiation Patterns
✅ FN.prototype
✅ this, .call, .apply, and .bind
✅ IIFEs/CommonJS/ES Modules
✅ Inheritance
✅ Composition
✅ Async Patterns

Advanced JavaScript -


When autoplay is enabled, a suggested video will automatically play next.

Up next

to add this to Watch Later

Add to

Loading playlists...