additional tests for BlockStatementControlFlowTransformer

This commit is contained in:
sanex3339
2017-01-06 23:47:58 +03:00
parent 5598770231
commit e8c76462ef
11 changed files with 265 additions and 3 deletions
+8 -1
View File
@@ -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);
})();
`,
{