Dead Code Injection randomly injects dead code all over your program. This will make your program's control-flow more complex, thus harder to understand, without changing the original program's behavior. Dead code is generated using statements and expressions found in the source code that are wrapped in conditional statements hard to evaluate by a human (also known as opaque predicates). Dead Code will not be injected inside loops to avoid performance issues.
// @jscrambler enable deadCodeInjection
Browser | Compatible Versions | Tested Versions | Notes |
---|---|---|---|
Chrome | 80+ | 80+ | |
Firefox | 90+ | 90+ | |
Internet Explorer | 8+ | 8+ | |
Microsoft Edge | 116+ | 116+ | |
Safari | 13.1+ | 13.1+ |
Example:
{
"keys": {
"accessKey": "XXXXXX",
"secretKey": "YYYYYY"
},
"applicationId": "ZZZZZZ",
"params": [
{
"name": "deadCodeInjection"
}
]
}