I see a lot of funny code in Javascript but i can not understand, Why this expression is equal to fail
?
document.write((![] + [])[+[]] + (![] + [])[+!+[]] + ([![]] + [][[]])[+!+[] + [+[]]] + (![] + [])[!+[] + !+[]]); // -> 'fail'
Edit 1:
This is not duplicate of javascript gotcha: empty list to boolean conversion .. i saw it and i google it before ask, but there's something new here, I cannot find why fail
come from this expression.