3 ms·
Interesting explanation. When I last checked that the "!+[1,]" expression alone was coherent across all the browser but "if(!+[1,])" statement was not. I think
by majke 11y ago
Interesting explanation. When I last checked that the "!+[1,]" expression alone was coherent across all the browser but "if(!+[1,])" statement was not.
I think there is something weird about the parsing of the comma in "if" statement in old IE.
- majke 11y agoCorrection. There is nothing special in "if". IE9 is just different, as you explained.