Hacker News new | ask | show | jobs
by masklinn 301 days ago
> Seriously, why would you think that assigning a value would stop your script from executing?

This assignment has a significant side-effect of leaving the page, assuming this is immediate rather than a scheduled asynchronous action is not unfair (I’m pretty sure I assumed the same when I saw or did that).