Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How about "location++"?


See, 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.


Sorry, what does this do? In Chrome it just redirects to /NaN when you put it in the console, am I missing something?


Yeah, 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: