Javascript WTF

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


WTF Strings?

> 'wtf' instanceof String
false

> typeof 'wtf'
'string'

> typeof String('wtf')
'string'

> String('wtf') === 'wtf'
true