mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Improved stringArray calls wrapper templates
This commit is contained in:
+3
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user