Home
last modified time | relevance | path

Searched refs:getPrototypeOf (Results 1 – 25 of 153) sorted by relevance

1234567

/third_party/jerryscript/tests/jerry/es2015/
Dproxy_get_prototoype_of.js20 var handler = { getPrototypeOf (target) { method
28 Object.getPrototypeOf(proxy);
77 getPrototypeOf(target) { method
83 assert(Object.getPrototypeOf(proxy) === Array.prototype);
84 assert(Reflect.getPrototypeOf(proxy) === Array.prototype);
89 assert(Object.getPrototypeOf(obj) === Object.prototype);
92 getPrototypeOf(target) { method
97 assert(Object.getPrototypeOf(proxy) === Object.prototype);
104 assert(Object.getPrototypeOf(proxy) === Object.prototype);
108 var handler = { getPrototypeOf: null }; property
[all …]
Dgenerator-function.js19 var ownProto = Object.getPrototypeOf(generatorFn());
20 var sharedProto = Object.getPrototypeOf(ownProto);
24 assert(sharedProto === Object.getPrototypeOf(function*(){}.prototype));
32 var ownProto = Object.getPrototypeOf(g);
33 var sharedProto = Object.getPrototypeOf(ownProto);
34 var iterProto = Object.getPrototypeOf(sharedProto);
72 Object.getPrototypeOf(f).constructor("yield", "");
82 Object.getPrototypeOf(f).xx = 5;
83 assert(Object.getPrototypeOf(f).prototype.constructor.xx === 5);
92 assert(Object.getPrototypeOf(f()) === Object.getPrototypeOf(originalProto));
[all …]
Dobject-prototype-proto.js32 assert(Object.getPrototypeOf(obj) !== p);
40 assert(Object.getPrototypeOf(shape) === circle);
59 assert(Object.getPrototypeOf(o2) === Object.prototype);
63 assert(Object.getPrototypeOf(o3) === null);
67 assert(Object.getPrototypeOf(o4) === null);
72 assert(Object.getPrototypeOf(o5) === Object.prototype);
76 assert(Object.getPrototypeOf(o6) === Object.prototype);
80 assert(Object.getPrototypeOf(o7) === null);
84 assert(Object.getPrototypeOf(o8) === Array.prototype);
88 assert(Object.getPrototypeOf(obj1) === Object.prototype);
Derror.js16 assert(Object.getPrototypeOf(EvalError) === Error);
17 assert(Object.getPrototypeOf(RangeError) === Error);
18 assert(Object.getPrototypeOf(ReferenceError) === Error);
19 assert(Object.getPrototypeOf(SyntaxError) === Error);
20 assert(Object.getPrototypeOf(TypeError) === Error);
21 assert(Object.getPrototypeOf(URIError) === Error);
Dobject-getprototypeof.js16 obj = Object.getPrototypeOf(a);
20 obj = Object.getPrototypeOf(a);
24 obj = Object.getPrototypeOf(a);
28 obj = Object.getPrototypeOf(a);
33 obj = Object.getPrototypeOf(a);
Dnew-target-for-containers.js83 assert(Object.getPrototypeOf(m1) == MyMap.prototype)
84 assert(Object.getPrototypeOf(s1) == MySet.prototype)
85 assert(Object.getPrototypeOf(wm1) == MyWeakMap.prototype)
86 assert(Object.getPrototypeOf(ws1) == MyWeakSet.prototype)
Dfunction-prototype-bind.js27 assert(Object.getPrototypeOf(boundFunc) === proto);
63 assert(Object.getPrototypeOf(boundF) === Object.getPrototypeOf(C));
Dregression-test-issue-3861.js19 ownProto = Object.getPrototypeOf(g)
20 sharedProto = Object.getPrototypeOf(ownProto)
Diterator-prototype.js17 var array_iterator_prototype = Object.getPrototypeOf (array_iterator);
18 var iterator_prototype = Object.getPrototypeOf (array_iterator_prototype);
Dreflect-getPrototypeOf.js20 Reflect.getPrototypeOf();
27 Reflect.getPrototypeOf("str");
/third_party/jerryscript/tests/jerry/es5.1/
Dobject-getprototypeof.js17 Object.getPrototypeOf(v);
24 Object.getPrototypeOf("foo");
31 Object.getPrototypeOf(60);
38 var y = Object.getPrototypeOf(null);
45 assert (Object.getPrototypeOf(obj) === Object.prototype);
51 assert (Object.getPrototypeOf(d_obj) === obj);
54 assert (Object.getPrototypeOf(obj) === null);
/third_party/jerryscript/tests/jerry-test-suite/es2015/22/22.02/22.02.02/
D22.02.02-003.js16 var a = Object.getPrototypeOf(Int8Array);
18 var c = Object.getPrototypeOf(Object.getPrototypeOf(b));
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/classes/members/constructorc_function_types/
Dconstructor_function_types_7.ts34 Assert.equal(Object.getPrototypeOf(cat) === Animal.prototype, true);
35 Assert.equal(Object.getPrototypeOf(Animal.prototype) === Object.prototype, true);
36 Assert.equal(Object.getPrototypeOf(Object.prototype) === null, true);
/third_party/node/deps/npm/node_modules/npm-install-checks/
Dindex.js105 var p = Object.getPrototypeOf(Object.getPrototypeOf(ancestors))
109 p = Object.getPrototypeOf(p)
115 var t = Object.getPrototypeOf(ancestors)
119 t = Object.getPrototypeOf(t)
/third_party/node/test/parallel/
Dtest-whatwg-url-custom-tostringtag.js21 [Object.getPrototypeOf(url), 'URL'],
22 [Object.getPrototypeOf(sp), 'URLSearchParams'],
23 [Object.getPrototypeOf(spIterator), 'URLSearchParams Iterator'],
Dtest-module-circular-dependency-warning.js18 assert.strictEqual(Object.getPrototypeOf(required), Object.prototype);
22 assert.strictEqual(Object.getPrototypeOf(requiredWithModuleExportsOverridden),
28 assert.strictEqual(Object.getPrototypeOf(classExport).name, 'Parent');
Dtest-buffer-inheritance.js27 assert.strictEqual(Object.getPrototypeOf(t), T.prototype);
28 assert.strictEqual(Object.getPrototypeOf(Object.getPrototypeOf(t)),
Dtest-util-callbackify.js158 Object.getPrototypeOf(cbAsyncFn),
159 Object.getPrototypeOf(asyncFn)
161 assert.strictEqual(Object.getPrototypeOf(cbAsyncFn), Function.prototype);
223 assert.strictEqual(Object.getPrototypeOf(err).name, 'Error');
Dtest-net-access-byteswritten.js15 assert.strictEqual(Object.getPrototypeOf(tls.TLSSocket).prototype.bytesWritten,
18 assert.strictEqual(Object.getPrototypeOf(tty.ReadStream).prototype.bytesWritten,
/third_party/node/deps/npm/node_modules/bluebird/js/release/
Des5.js13 getPrototypeOf: Object.getPrototypeOf, property
74 getPrototypeOf: ObjectGetPrototypeOf, property
/third_party/jerryscript/tests/jerry-test-suite/15/15.02/15.02.04/
D15.02.04-001.js15 assert(Object.getPrototypeOf(Object.getPrototypeOf(Object())) === null);
/third_party/jerryscript/tests/jerry-test-suite/15/15.02/15.02.03/
D15.02.03-005.js19 assert(Object.getPrototypeOf(a) == Object.getPrototypeOf(Object()));
/third_party/jerryscript/tests/jerry/
Dregression-test-issue-3477.js20 var constructor = _p(this, (_ref = Object.getPrototypeOf(function (){})).call({}));
24 _p(this, (_ref += Object.getPrototypeOf(function (){})).call({}));
/third_party/node/test/fixtures/wpt/console/
Dconsole-is-a-namespace.any.js22 const prototype1 = Object.getPrototypeOf(console);
23 const prototype2 = Object.getPrototypeOf(prototype1);
/third_party/jerryscript/tests/jerry-test-suite/es2015/19/19.01/19.01.02/
D19.01.02-004.js40 assert(proto === Object.getPrototypeOf(o));
51 var o_proto = Object.getPrototypeOf(o);

1234567