Javascript WTF

A site where we can all share in those little WTF moments we enjoy with Javascript


Adding things up

> []+[] // ""
> []+{} // "[object Object]"
> {}+[] // 0
> {}+{} // NaN

Well those are some nice and consistent results!