Opened November 17, 2008 03:04PM UTC
Closed November 17, 2008 04:32PM UTC
Using .constructor "type" checks tends to cause problems across iframes and the link. A better solution should be used.
All primitives are checked with typeof, undefined is checked with === undefined, objects are checked with isFunction or isArray, object checks use Object.prototype.toString.
3618.diff - Changes all primitive checks to use typeof, removed use of isType, converted isArray and isFunction to new style.
I've outlined all of these changes in the new core style guideline: Type Checks.
Fixed in SVN rev .