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: