-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
Steps to Reproduce
There's no space between the return and the context keyword, leading to invalid code:
var JavaScriptObfuscator = require("javascript-obfuscator");
var obfuscationResult = JavaScriptObfuscator.obfuscate(
`return 𝐜𝐨𝐧𝐭𝐞𝐱𝐭`,
{
reservedNames: ["𝐜𝐨𝐧𝐭𝐞𝐱𝐭"],
}
);
console.log(obfuscationResult.getObfuscatedCode());
// return𝐜𝐨𝐧𝐭𝐞𝐱𝐭Reactions are currently unavailable