You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you run the source through uglifyjs -c it works every time.
;-)
function foo() {return !1;}
for (var a = 0, b = 0, i = 0; i < 1e4; i++) foo() === !0 ? a++ : b++;
var pa = (a / (a + b) * 100).toFixed(2), pb = (b / (a + b) * 100).toFixed(2);
console.log("true " + pa + "%"), console.log("false " + pb + "%");
There's an upstream bug in v8 that was cherry-picked today and merged. The bug is as follows and also is reproducible in node itself:
Bug Description:
Outcome:
The text was updated successfully, but these errors were encountered: