mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
additional tests for BlockStatementControlFlowTransformer
This commit is contained in:
+8
-1
@@ -11,7 +11,14 @@ if (!(<any>global)._babelPolyfill) {
|
||||
let obfuscatedCode: string = JavaScriptObfuscator.obfuscate(
|
||||
`
|
||||
(function () {
|
||||
var abc = 1 + 1;
|
||||
while (true) {
|
||||
break;
|
||||
}
|
||||
console.log(1);
|
||||
console.log(2);
|
||||
console.log(3);
|
||||
console.log(4);
|
||||
console.log(5);
|
||||
})();
|
||||
`,
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user