Duplicate Literals Removal replaces duplicate literals with a single variable name.
Option name: "duplicateLiteralsRemoval"
Option values: true/false/0-1
This example showcases how Duplicate Literals Removal transforms the code. Try it out by changing the input code and see changes apply in real-time.
Input.js
Output.js
The provided code example will obfuscate the file input.js and write the output to a file named output.js.
Usage Example