Creates a middleman function to process function calls.
Option name: "dispatcher"
Option values: true/false/0-1/Function
This example showcases how Dispatcher transforms the code. Try it out by changing the input code and see changes apply in real-time.
Input.js
Output.js
Control which functions are changed. Returns a boolean.
| Parameter | Type | Description |
|---|---|---|
| fnName | string | The function name proposed to be changed. |
The provided code example will obfuscate the file input.js and write the output to a file named output.js.
Usage Example