DEV Community 👩‍💻👨‍💻

Discussion on: Is your app online? Here's how to reliably know in just 10 lines of JS [Guide]

Collapse
jakesarjeant profile image
Jake Sarjeant

Note that something like Date.now() as the search parameter would be (theoretically) better because it completely removes the chances of collisions. (It doesn't really matter because it's not very likely to collide anyway, but I think that the possibility should be noted...)