Hacker News new | ask | show | jobs
by JoshTriplett 302 days ago
Exactly. Given that JavaScript runs in the context of a page, redirecting off of the page seems like it should act like a "noreturn" function...but it doesn't. That seems like a very easy mistake to make.