Lines Matching refs:object

9   var object = {  variable in TestBasics
14 assertEquals(42, object.method());
19 var object = { variable in TestThis
21 assertEquals(object, this);
24 object.method();
29 var object = { variable in TestDescriptor
35 var desc = Object.getOwnPropertyDescriptor(object, 'method');
46 var object = { variable in TestProto
50 assertEquals(Function.prototype, Object.getPrototypeOf(object.method));
55 var object = { variable in TestNotConstructable
60 new object.method;
66 var object = { variable in TestFunctionName
71 var f = object.method;
73 var g = object[1];
75 var h = object[2];
83 var object = { variable in TestNoBinding
89 object.method();
95 var object = { variable in TestNoPrototype
98 var f = object.method;
108 var object = { variable in TestToString
111 assertEquals('method() { 42; }', object.method.toString());
116 var object = { variable in TestOptimized
119 assertEquals(42, object.method());
120 assertEquals(42, object.method());
121 %OptimizeFunctionOnNextCall(object.method);
122 assertEquals(42, object.method());
123 assertFalse(object.method.hasOwnProperty('prototype'));
139 var object = { variable in TestGeneratorBasics
144 var g = object.method();
151 var object = { variable in TestGeneratorThis
156 var g = object.method();
157 assertIteratorResult(object, false, g.next());
163 var object = { variable in TestGeneratorSymbolIterator
166 var g = object.method();
172 var object = { variable in TestGeneratorDescriptor
178 var desc = Object.getOwnPropertyDescriptor(object, 'method');
191 var object = { variable in TestGeneratorProto
196 Object.getPrototypeOf(object.method));
201 var object = { variable in TestGeneratorConstructable
207 var g = new object.method();
214 var object = { variable in TestGeneratorName
219 var f = object.method;
221 var g = object[1];
223 var h = object[2];
231 var object = { variable in TestGeneratorNoBinding
237 var g = object.method();
244 var object = { variable in TestGeneratorToString
247 assertEquals('*method() { yield 1; }', object.method.toString());