Question · JavaScript and TypeScript course · Module 9: Design Patterns and Architecture
Code Splitting
What is the main purpose of code splitting?
Answer options
- Automatically splitting files into lines of 80 characters
- Dividing code into smaller chunks loaded on demand, which speeds up initial loading
- Separating HTML, CSS, and JavaScript into separate files
- Splitting the development team into smaller groups
You can check the correct answer by solving this task in the CodeWorlds game.