Changed stringArrayIntermediateVariablesCount option description

This commit is contained in:
sanex
2020-09-10 21:03:44 +03:00
parent 7df32035ec
commit e87565bd9e
6 changed files with 42 additions and 29 deletions
+7 -8
View File
@@ -8,24 +8,23 @@ import { StringArrayEncoding } from '../../src/enums/StringArrayEncoding';
let obfuscatedCode: string = JavaScriptObfuscator.obfuscate(
`
const foo = 'foo';
const bar = 'bar';
function test () {
const foo = 'foo';
const bar = 'bar';
const baz = 'baz';
const bark = 'bark';
const hawk = 'hawk';
}
console.log('ddd');
console.log('eee');
console.log('yyy');
test();
const eagle = 'eagle';
`,
{
...NO_ADDITIONAL_NODES_PRESET,
compact: false,
stringArray: true,
stringArrayThreshold: 1,
stringArrayIntermediateVariablesCount: 10,
stringArrayIntermediateVariablesCount: 5,
stringArrayEncoding: [
StringArrayEncoding.None
]