mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
stringArray calls wrappers now inserted as FunctionDeclaration nodes at random indexes
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@ describe('StringArrayCallsWrapperCodeHelper', () => {
|
||||
|
||||
describe('Preserve string array name', () => {
|
||||
const callsWrapperRegExp: RegExp = new RegExp(`` +
|
||||
`var b *= *function *\\(c, *d\\) *{ *` +
|
||||
`function *b *\\(c, *d\\) *{ *` +
|
||||
`c *= *c *- *0x0; *` +
|
||||
`var e *= *a\\[c]; *` +
|
||||
``);
|
||||
|
||||
Reference in New Issue
Block a user