Skip to content
PBS 128 of X – JavaScript Module Basics episode artwork

EPISODE · Nov 3, 2021 · 1H 27M

PBS 128 of X – JavaScript Module Basics

from Programming By Stealth

This installment of Programming By Stealth could probably have been two segments but all of us are itching to get moving quickly so we decided to power through. In the first part of the installment, Bart introduces us to JavaScript modules by giving us a bit of a history lesson on how they've evolved. If you're brand new to modules, this will be interesting but not essential. If you have history with them though, you'll definitely need to pay close attention to understand what's changed. Then Bart gets into the details of how modules work. He explains how JavaScript modules export variables, functions, and classes and how there are named exports and default exports and how the syntax differs. What fun would learning about exports be if he didn't tell us how to import variables, functions and classes into our code for when we use these modules? We also learn about module specifiers to make it all go. Finally, Bart takes us through three worked examples where he creates some JavaScript modules that exercise everything we just learned. It's a long episode but as always, Bart's excellent show notes at pbs.bartificer.net

Episode metadata supplied by the publisher feed · Published Nov 3, 2021

Embed this episode

Ready to play

PBS 128 of X – JavaScript Module Basics

0:00 1:27:59

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of Programming By Stealth?

This episode is 1 hour and 27 minutes long.

When was this Programming By Stealth episode published?

This episode was published on November 3, 2021.

Can I download this Programming By Stealth episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!