Javascript WTF

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


Adding things up

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

Well those are some nice and consistent results!