Lines Matching defs:obj
42 var obj = new Object();
48 assert(isNaN(parseInt(bool, obj)));
52 assert(isNaN(parseInt(obj, bool)));
53 assert(isNaN(parseInt(obj, obj)));
54 assert(isNaN(parseInt(obj, num)));
55 assert(isNaN(parseInt(obj, arr)));
58 assert(parseInt(num, obj) === 8);
63 assert(parseInt(arr, obj) === 2);
68 assert(isNaN(parseInt(undef, obj)));
72 var obj = { toString : function () { throw new ReferenceError("foo") } };
74 parseInt(obj);