Older browsers report the typeof some host objects and regexes as "function"