Vidyalelo
JavaScript · Q59

Performance Measures

Programming · JavaScript · question 59

Q59

What is scorched-earth optimizations?

A.
They optimize based on certain constraints
B.
They strip out everything including best practices
Answer
C.
Based on certain constraints
D.
None of the mentioned

Answer: Option B

Solution

Answer: Option B
Solution:
Closure Compiler runs through a number of “scorched-earth” optimizations—it unfurls functions, rewrites variable names, and removes functions that are never called (as far as it can tell).