Q
What is the main purpose of minifying CSS and JavaScript?
-
A
To reduce file size by removing whitespace and comments and shortening names, which speeds up downloads
-
B
To encrypt the code
-
C
To add browser compatibility
-
D
To make the code more readable
Correct Answer:
A. To reduce file size by removing whitespace and comments and shortening names, which speeds up downloads
Explanation:
Source maps let developers debug minified code.