René Nyffenegger's collection of things on the web | |
René Nyffenegger on Oracle - Most wanted - Feedback
- Follow @renenyffenegger
|
typeof [JavaScript operator] | ||
typeof returns one of the following strings:
typeof(typeof(x)) is always string, no matter what x actually is.
IE seems to think that some functions are objects rather than functions:
typeof(document.getElementById) returns object.
|