mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
17 lines
391 B
TypeScript
17 lines
391 B
TypeScript
/**
|
|
* @returns {string}
|
|
*/
|
|
export function StringArrayCallsWrapperTemplate (): string {
|
|
return `
|
|
const {stringArrayCallsWrapperName} = function (index, key) {
|
|
index = index - {indexShiftAmount};
|
|
|
|
let value = {stringArrayName}[index];
|
|
|
|
{decodeCodeHelperTemplate}
|
|
|
|
return value;
|
|
};
|
|
`;
|
|
}
|