Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on JSFuck (2012). Parent comment
Summing arrays calls `.toString()` on them, and two empty string gives you a new empty string.
[].toString() === '' [] + [] === '' + '' === ''
There are no comments on this comment yet.
Summing arrays calls `.toString()` on them, and two empty string gives you a new empty string.
https://github.com/denysdovhan/wtfjs#adding-arrays