In the following example, the declaration of bar via const bar = function(){…} is not incorporated in the deobfuscation result of function body foo:
function foo() {
const bar = function () {
for (;;){
return 0;
}
};
const x = bar();
return x
}
function bar() {
return 42;
}
deobfuscation should result in foo returning 0 either directly or indirectly instead.
In the following example, the declaration of
barviaconst bar = function(){…}is not incorporated in the deobfuscation result of function bodyfoo:deobfuscation should result in
fooreturning0either directly or indirectly instead.