Variable Masking

Local variables are consolidated into a rotating array.

Option name: "variableMasking"

Option values: true/false/0-1/Function


Input / Output

This example showcases how Variable Masking transforms the code. Try it out by changing the input code and see changes apply in real-time.

Input.js

Output.js


Custom Implementation

options.variableMasking(fnName)

Control which functions are changed. Returns a boolean.

Parameter Type Description
fnName string The function name proposed to be changed.

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