mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Added additional self defending mechanisms. Updated tests
This commit is contained in:
+2
-2
@@ -84,8 +84,8 @@ describe('StringArrayRotateFunctionCodeHelper', () => {
|
||||
});
|
||||
|
||||
describe('Preserve string array name', () => {
|
||||
const arrayRotateRegExp: RegExp = /c\['push']\(c\['shift']\(\)\);/;
|
||||
const comparisonRegExp: RegExp = /if *\(e *=== *d\) *{/;
|
||||
const arrayRotateRegExp: RegExp = /e\['push']\(e\['shift']\(\)\);/;
|
||||
const comparisonRegExp: RegExp = /if *\(f *=== *d\) *{/;
|
||||
|
||||
let obfuscatedCode: string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user