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𝐜𝐨𝐧𝐭𝐞𝐱𝐭
Steps to Reproduce
There's no space between the return and the
contextkeyword, leading to invalid code: