Lines Matching refs:obj
24 * Suppose obj is an instance of a native type, e.g. Number.
25 * Then obj.toString() invokes Number.prototype.toString().
28 * The difference is this: suppose obj = new Number(7).
33 * The getJSClass() function returns 'Number', the [[Class]] property of obj.
43 function getJSType(obj)
45 if (isObject(obj))
46 return findType(obj);
52 function getJSClass(obj)
54 if (isObject(obj))
55 return findClass(findType(obj));
60 function findType(obj)
62 return cnObjectToString.apply(obj);
78 function isObject(obj)
80 return obj instanceof Object;