Lines Matching defs:object
71 assert (typeof result == "object");
74 assert (typeof result.zzz == "object");
76 assert (typeof result.zzz.BB == "object");
92 assert (typeof result === "object");
93 assert (typeof result[0] === "object");
94 assert (typeof result[0].x === "object");
98 assert (typeof result[2] === "object");
123 // Checking parse with different object types
125 object = { toString: function() { return false; } };
126 assert (JSON.parse (object) == false);
128 object = {"a": 3, "b": "foo"};
130 JSON.parse (object);
149 object = new String ('{"a": 3, "b": "foo"}');
150 result = JSON.parse (object);
278 assert (log === "<a>:1 <x>:3 <y>:4 <b>:[object Object] ");
356 // Checking reviver with different object types