mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Fixed zero threshold case for string array storage analyze
This commit is contained in:
@@ -138,6 +138,7 @@ export class StringArrayStorageAnalyzer implements IStringArrayStorageAnalyzer {
|
||||
}
|
||||
|
||||
return literalNode.value.length >= StringArrayStorageAnalyzer.minimumLengthForStringArray
|
||||
&& !!this.options.stringArrayThreshold
|
||||
&& this.randomGenerator.getMathRandom() <= this.options.stringArrayThreshold;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user