News for hackers. Stuff that matters.
Re:Why ++[[]][+[]]+[+[]] = 10 in JavaScript by Cushman on Wednesday December 28, 2011 @10:39PM (#3402405)
You're surprised... why? You were expecting Python semantics?

Unsurprisingly, JavaScript is its own language.

Re:Why ++[[]][+[]]+[+[]] = 10 in JavaScript by nlz1 on Thursday December 29, 2011 @07:24AM (#3403439)
Surprisingly, its semantics and "features" are often bizarre and sweat-inducing when compared to other languages. (Surprising for such a widely-used language).

http://www.youtube.com/watch?v=hQVTIJBZook