Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
PepeOnGithub authored May 31, 2024
1 parent 5db22e5 commit ab20409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function obfuscateString(str) {
let obfuscated = '';
for (let i = 0; i < str.length; i++) {
const code = str.charCodeAt(i).toString(16).padStart(4, '0');
obfuscated += '\u' + code;
obfuscated += '\\u' + code;
}
return obfuscated;
}

0 comments on commit ab20409

Please sign in to comment.