Duplicate Literals Removal

Duplicate Literals Removal replaces duplicate literals with a single variable name.

Option name: "duplicateLiteralsRemoval"

Option values: true/false/0-1


Input / Output

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


Usage Example

The provided code example will obfuscate the file input.js and write the output to a file named output.js.

Usage Example


Enabled In