Improved stringArray calls wrapper templates

This commit is contained in:
sanex
2021-06-17 19:38:22 +03:00
parent 993cf7a2a8
commit 5683e75a91
17 changed files with 101 additions and 72 deletions
@@ -56,8 +56,9 @@ describe('StringArrayCallsWrapperCodeHelper', () => {
describe('Preserve string array name', () => {
const callsWrapperRegExp: RegExp = new RegExp(`` +
`function *b *\\(c, *d\\) *{ *` +
`c *= *c *- *0x0; *` +
`var e *= *a\\[c]; *` +
`b *= *function *\\(e, *f\\) *{` +
`e *= *e *- *0x0; *` +
`var g *= *a\\[e]; *` +
``);
let obfuscatedCode: string;