Javascript WTF

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


Boolean Maths

/* boolean math */

> true + false
1

> true + true == true
false