re: Why (! + [] + [] + ![]).length is 9 VIEW POST

FULL DISCUSSION
 

Hi.
This is very well documented in the Boolean coercion abstract operation by ECMAScript language.
So, there are two operations that you may check out.

  1. ToBoolean and ToString.
code of conduct - report abuse