4 ms·
How about "location++"?
by jrockway 15y ago
How about "location++"?
- Cushman 15y agoSee, there's another clever trick that actually does something interesting. Really, there's a whole class of toString solutions missing from this list... but I guess you have to stop at some point.
- lanstein 15y agoSorry, what does this do? In Chrome it just redirects to /NaN when you put it in the console, am I missing something?
- jrockway 15y agoYeah, it causes the browser to go to a new page. += with a string probably works too, but I don't have Chrome here to test with.