DEV Community

Discussion on: Confusing JS Explained

Collapse
 
madza profile image
Madza • Edited

If you are into this kind of stuff, I would recommend wtfjs 😉
For example, did you know that:

(![] + [])[+[]] +
(![] + [])[+!+[]] +
([![]] + [][[]])[+!+[] + [+[]]] +
(![] + [])[!+[] + !+[]];
// -> 'fail'

Recruiters love it, too 😀😀