Just use a formatter. It'll show you that the second one is two statements:
{}(the empty block)+[]coerce an empty array to a number:new Number(new Array())
Just use a formatter. It'll show you that the second one is two statements:
{} (the empty block)+[] coerce an empty array to a number: new Number(new Array())