/third_party/jerryscript/tests/jerry/es2015/ |
D | proxy_get_prototoype_of.js | 20 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 …]
|
D | generator-function.js | 19 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 …]
|
D | object-prototype-proto.js | 32 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);
|
D | error.js | 16 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);
|
D | object-getprototypeof.js | 16 obj = Object.getPrototypeOf(a); 20 obj = Object.getPrototypeOf(a); 24 obj = Object.getPrototypeOf(a); 28 obj = Object.getPrototypeOf(a); 33 obj = Object.getPrototypeOf(a);
|
D | new-target-for-containers.js | 83 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)
|
D | function-prototype-bind.js | 27 assert(Object.getPrototypeOf(boundFunc) === proto); 63 assert(Object.getPrototypeOf(boundF) === Object.getPrototypeOf(C));
|
D | regression-test-issue-3861.js | 19 ownProto = Object.getPrototypeOf(g) 20 sharedProto = Object.getPrototypeOf(ownProto)
|
D | iterator-prototype.js | 17 var array_iterator_prototype = Object.getPrototypeOf (array_iterator); 18 var iterator_prototype = Object.getPrototypeOf (array_iterator_prototype);
|
D | reflect-getPrototypeOf.js | 20 Reflect.getPrototypeOf(); 27 Reflect.getPrototypeOf("str");
|
/third_party/jerryscript/tests/jerry/es5.1/ |
D | object-getprototypeof.js | 17 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/ |
D | 22.02.02-003.js | 16 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/ |
D | constructor_function_types_7.ts | 34 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/ |
D | index.js | 105 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/ |
D | test-whatwg-url-custom-tostringtag.js | 21 [Object.getPrototypeOf(url), 'URL'], 22 [Object.getPrototypeOf(sp), 'URLSearchParams'], 23 [Object.getPrototypeOf(spIterator), 'URLSearchParams Iterator'],
|
D | test-module-circular-dependency-warning.js | 18 assert.strictEqual(Object.getPrototypeOf(required), Object.prototype); 22 assert.strictEqual(Object.getPrototypeOf(requiredWithModuleExportsOverridden), 28 assert.strictEqual(Object.getPrototypeOf(classExport).name, 'Parent');
|
D | test-buffer-inheritance.js | 27 assert.strictEqual(Object.getPrototypeOf(t), T.prototype); 28 assert.strictEqual(Object.getPrototypeOf(Object.getPrototypeOf(t)),
|
D | test-util-callbackify.js | 158 Object.getPrototypeOf(cbAsyncFn), 159 Object.getPrototypeOf(asyncFn) 161 assert.strictEqual(Object.getPrototypeOf(cbAsyncFn), Function.prototype); 223 assert.strictEqual(Object.getPrototypeOf(err).name, 'Error');
|
D | test-net-access-byteswritten.js | 15 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/ |
D | es5.js | 13 getPrototypeOf: Object.getPrototypeOf, property 74 getPrototypeOf: ObjectGetPrototypeOf, property
|
/third_party/jerryscript/tests/jerry-test-suite/15/15.02/15.02.04/ |
D | 15.02.04-001.js | 15 assert(Object.getPrototypeOf(Object.getPrototypeOf(Object())) === null);
|
/third_party/jerryscript/tests/jerry-test-suite/15/15.02/15.02.03/ |
D | 15.02.03-005.js | 19 assert(Object.getPrototypeOf(a) == Object.getPrototypeOf(Object()));
|
/third_party/jerryscript/tests/jerry/ |
D | regression-test-issue-3477.js | 20 var constructor = _p(this, (_ref = Object.getPrototypeOf(function (){})).call({})); 24 _p(this, (_ref += Object.getPrototypeOf(function (){})).call({}));
|
/third_party/node/test/fixtures/wpt/console/ |
D | console-is-a-namespace.any.js | 22 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/ |
D | 19.01.02-004.js | 40 assert(proto === Object.getPrototypeOf(o)); 51 var o_proto = Object.getPrototypeOf(o);
|