It teaches you the funky behavior of JavaScript. For instance, `[]["filter"]` returns an empty function called filter.
In order to get particular characters (for example: f), the script uses "false"[0], where "false" is derived from adding ![] + [], and 0 is derived from +[].
Putting all of that together ($ node):
> (![]+[])[+[]]
'f'