Added support for values returned by built-in constructors in Object.typeOf