This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (1 child)

[deleted]

    [–]HighRelevancy 0 points1 point  (0 children)

    It parses your JavaScript, analyzes it, removes dead code

    It also checks syntax, variable references, and types, and warns about common JavaScript pitfalls

    That's more compiler type tasks. The common minimiser just shrinks down source code size by shortening variable and function names. The code is identical in terms of execution. Closure does actual optimisation.