mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Changed stringArrayIntermediateVariablesCount option description
This commit is contained in:
+7
-8
@@ -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
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user