Question · JavaScript and TypeScript course · Module 9: Design Patterns and Architecture
Tree Shaking Requirements
Which module format enables effective tree shaking?
Answer options
- ES Modules (import/export)
- CommonJS (require/module.exports)
- UMD (Universal Module Definition)
- AMD (define/require)
You can check the correct answer by solving this task in the CodeWorlds game.