On , I learnt ...

Javascript’s unary + operator casts null to zero

As in:

> +null
0

which is different from parseInt or parseFloat which return NaN when given null.