Charlie Harvey

#567

@ lolkittens -

typeof []+[] === "object"
because
typeof [] === "object"
and
"object" + [] === "object"
; what you probably wanted to be evaluating is
typeof([]+[])
, which most definitely IS "string"; in other words, the keyword
typeof
has higher precedence than
+
, so you were evaluating
(typeof [])+[]
.