Re:Why ++[[]][+[]]+[+[]] = 10 in JavaScript
by blurbytree on Thursday December 29, 2011 @01:37PM
(#3404718)
There are only 3 things, which aren't surprising to anyone who has done much js.
[ Parent
| on HN ]
Re:Why ++[[]][+[]]+[+[]] = 10 in JavaScript
by bonobo on Thursday December 29, 2011 @02:49PM
(#3405051)
I don't think the comma operator wouldn't be surprising to an experienced js programmer. I can't remember a single piece of serious code where I could see it in use.
The same applies to the void operator, I can think of one or two cases at most where it would be useful, but I don't see anyone using it.