3 ms·
> But if you gave this exercise some time and asked "what should happen... This applies to any cursed JavaScript code too (see https://jswtf.com https://jswtf.
by overfeed 1y ago
> But if you gave this exercise some time and asked "what should happen...
This applies to any cursed JavaScript code too (see https://jswtf.com https://jswtf.com). The increased cognitive load required to figure out unintuitive/counterintuitive code is what makes it cursed.