web-features explorer

JavaScript modules in workers

Newly available since 2023-06-06 (baseline low)

The Worker() constructor accepts { type: "module" } to load scripts that use import and export. Also known as ECMAScript modules or ESM in workers.

Compatibility

BCD data