typeof new Number(1)
will return "object"
, same with instantiated strings, etc.
Is it safe to use typeof myVar === "function"
or are there any browsers that will return "object"
when using the Function
constructor (don't know why they should do, but maybe there is any one)?