mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Added prefixes to the generated global identifiers of the added code
This commit is contained in:
@@ -90,8 +90,8 @@ export class StringArrayRotateFunctionCodeHelper extends AbstractCustomCodeHelpe
|
||||
* @returns {string}
|
||||
*/
|
||||
protected getCodeHelperTemplate (): string {
|
||||
const timesName: string = this.identifierNamesGenerator.generateForGlobalScope();
|
||||
const whileFunctionName: string = this.identifierNamesGenerator.generateForGlobalScope();
|
||||
const timesName: string = this.identifierNamesGenerator.generateNext();
|
||||
const whileFunctionName: string = this.identifierNamesGenerator.generateNext();
|
||||
const preservedNames: string[] = [`^${this.stringArrayName}$`];
|
||||
|
||||
let code: string = '';
|
||||
|
||||
Reference in New Issue
Block a user