It's simple really, JavaScript is a scripting programming language so it needs to be front end and visible to browsers. This has several drawbacks and the most important one is that JavaScript source code can be easily viewed by anyone. This means that anyone can steal your JavaScript code, modify it and reuse it for his own purposes. One of the ways to protect your code is to obfuscate it to encrypt the code and make it unreadable.
-
Protect your code and intellectual property.
-
Compact js to also make file size smaller and increase page speed.
-
Work with jQuery!, NODE.JS and other JS frameworks.
-
Always to preserve the operational qualities of the code.