this #javascript doesn't make sense:
> typeof []
< "object"
> typeof {}
< "object"
> []+1
< "1"
> {}+1
< 1
typeof array [] and object literal {} return "object" as the type but when array plus 1 yields a string of "1" while object literal {} plus 1 yields integer 1. Why?
can someone explain?