Minimal working example that will help to reproduce issue
function compOk(ys) {
const min = Infinity;
function aux(y) {
if (y < min) min = y;
}
aux(ys);
return { min, }
}
function compErr(ys){
const min = Infinity;
function aux(y) {
if (y < min) min = y;
}
return aux(ys),{ min, }
}
Expected Behavior
function compOk do this (after webcrack)
function compOk(a) {
const b = Infinity;
function c(a) {
if (a < b) b = a;
}
c(a);
const d = {
min: b
};
return d;
}
Current Behavior
function compErr do this (after webcrack)
function compErr(a) {
const b = Infinity;
function c(a) {
if (a < b) b = a;
}
const d = {
min: b
};
c(a);
return d;
}
Your Environment
- Obfuscator version used: 4.1.0
- Node version used: 18.12.1
- obfuscator settings: { optionsPreset: "low-obfuscation", transformObjectKeys: true,}