by kasper93 · 9y ago · 0 comments
And the current state doesn't even know how to constant fold this loop.
function foo() { const bar = 42; for (let i = 0; i <= bar; i++) { if (i === bar) { return bar; } } };
(function() {
function foo() { const bar = 42; for (let i = 0; i <= bar; i++) { if (i === bar) { return bar; } } };
console.log(foo());
})();