Appearance
Obfuscation
- Obfuscation is the deliberate act of creating obfuscated JavaScript code (source or machine code) that is difficult for humans to understand. It is similar to encryption, but a machine can understand and execute the code.
Need
- Code size is reduced, so data transfers between server and client are faster.
- It hides business logic from the outside world and protects the code from others.
- Reverse engineering is highly difficult.
- Download time is reduced.
Minification
- Minification is the process of removing unnecessary characters, such as empty spaces, and renaming variables without changing functionality. It is also a type of obfuscation.