An Opaque Predicate is a predicate(true/false) that is evaluated at runtime, this can confuse reverse engineers from understanding your code.
Option name: "opaquePredicates"
Option values: true/false/0-1
This example showcases how Opaque Predicates 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