4. JS Compilers
• JavaScript is a dynamically-typed language.
• Compilers detect errors and potential problems in your
code and to enforce your team's coding conventions.
• Building well-tested, modular, and cross-browser
JavaScript code.
• Using compilers, compiles JavaScript into compact,
high-performance code.
• The compiler removes dead code and rewrites and
minimizes what's left so that it downloads and runs
quickly. It also checks syntax, variable references, and
types, and warns about common JavaScript pitfalls.