I know that typeof document.all
returns "undefined"
, but if I am writing a set of functions to implement proper type check in JavaScript, what would the appropriate return value for it be? "object"
or "function"
?
I know that typeof document.all
returns "undefined"
, but if I am writing a set of functions to implement proper type check in JavaScript, what would the appropriate return value for it be? "object"
or "function"
?