// Natural iterative version
function hugo (_) {
let Result = 1;
return Result;
};
demo('Result = ' + hugo(_), _);
(function main(_) {
function hugo(_) {
var __frame = {
name: "hugo",
line: 3
};
return __func(_, this, arguments, hugo, 0, __frame, function __$hugo() {
let Result = 1;
return _(null, Result);
});
};
var __frame = {
name: "main",
line: 1
};
return __func(_, this, arguments, main, 0, __frame, function __$main() {
return hugo(__cb(_, __frame, 7, 19, function ___(__0, __1) {
return demo(("Result = " + __1), __cb(_, __frame, 7, 0, function __$main() {
_();
}, true));
}, true));
});
}).call(this, __trap);
which still looks fine.