/third_party/typescript/tests/baselines/reference/ |
D | staticInstanceResolution2.symbols | 5 A.hasOwnProperty('foo'); 6 >A.hasOwnProperty : Symbol(Object.hasOwnProperty, Decl(lib.es5.d.ts, --, --)) 8 >hasOwnProperty : Symbol(Object.hasOwnProperty, Decl(lib.es5.d.ts, --, --)) 15 B.hasOwnProperty('foo'); 16 >B.hasOwnProperty : Symbol(Object.hasOwnProperty, Decl(lib.es5.d.ts, --, --)) 18 >hasOwnProperty : Symbol(Object.hasOwnProperty, Decl(lib.es5.d.ts, --, --))
|
D | errorSuperPropertyAccess.types | 15 var b = super.hasOwnProperty(''); 17 >super.hasOwnProperty('') : any 18 >super.hasOwnProperty : any 20 >hasOwnProperty : any 33 var b = super.hasOwnProperty(''); 35 >super.hasOwnProperty('') : any 36 >super.hasOwnProperty : any 38 >hasOwnProperty : any 48 n = super.hasOwnProperty(''); 50 >super.hasOwnProperty('') : any [all …]
|
D | intrinsics.errors.txt | 1 …s(1,21): error TS2749: 'hasOwnProperty' refers to a value, but is being used as a type here. Did y… 2 …cs.ts(1,21): error TS4025: Exported variable 'hasOwnProperty' has or is using private name 'hasOwn… 7 var hasOwnProperty: hasOwnProperty; // Error 9 !!! error TS2749: 'hasOwnProperty' refers to a value, but is being used as a type here. Did you mea… 11 !!! error TS4025: Exported variable 'hasOwnProperty' has or is using private name 'hasOwnProperty'.
|
D | stringPropertyAccess.types | 14 var b = x.hasOwnProperty('charAt'); 16 >x.hasOwnProperty('charAt') : boolean 17 >x.hasOwnProperty : (v: PropertyKey) => boolean 19 >hasOwnProperty : (v: PropertyKey) => boolean 30 var e = x['hasOwnProperty']('toFixed'); 32 >x['hasOwnProperty']('toFixed') : boolean 33 >x['hasOwnProperty'] : (v: PropertyKey) => boolean 35 >'hasOwnProperty' : "hasOwnProperty"
|
D | numberPropertyAccess.types | 13 var b = x.hasOwnProperty('toFixed'); 15 >x.hasOwnProperty('toFixed') : boolean 16 >x.hasOwnProperty : (v: PropertyKey) => boolean 18 >hasOwnProperty : (v: PropertyKey) => boolean 28 var d = x['hasOwnProperty']('toFixed'); 30 >x['hasOwnProperty']('toFixed') : boolean 31 >x['hasOwnProperty'] : (v: PropertyKey) => boolean 33 >'hasOwnProperty' : "hasOwnProperty"
|
D | staticInstanceResolution2.types | 5 A.hasOwnProperty('foo'); 6 >A.hasOwnProperty('foo') : boolean 7 >A.hasOwnProperty : (v: PropertyKey) => boolean 9 >hasOwnProperty : (v: PropertyKey) => boolean 17 B.hasOwnProperty('foo'); 18 >B.hasOwnProperty('foo') : boolean 19 >B.hasOwnProperty : (v: PropertyKey) => boolean 21 >hasOwnProperty : (v: PropertyKey) => boolean
|
D | errorSuperPropertyAccess.js | 8 var b = super.hasOwnProperty(''); 13 var b = super.hasOwnProperty(''); 17 n = super.hasOwnProperty(''); 22 super.hasOwnProperty(''); 26 super.hasOwnProperty(''); 31 super.hasOwnProperty(''); 136 … function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; 153 this.n = _super.prototype.hasOwnProperty.call(this, ''); 155 var b = _super.prototype.hasOwnProperty.call(this, ''); 159 var b = _super.prototype.hasOwnProperty.call(this, ''); [all …]
|
D | stringPropertyAccess.symbols | 11 var b = x.hasOwnProperty('charAt'); 13 >x.hasOwnProperty : Symbol(Object.hasOwnProperty, Decl(lib.es5.d.ts, --, --)) 15 >hasOwnProperty : Symbol(Object.hasOwnProperty, Decl(lib.es5.d.ts, --, --)) 22 var e = x['hasOwnProperty']('toFixed'); 25 >'hasOwnProperty' : Symbol(Object.hasOwnProperty, Decl(lib.es5.d.ts, --, --))
|
D | numberPropertyAccess.symbols | 11 var b = x.hasOwnProperty('toFixed'); 13 >x.hasOwnProperty : Symbol(Object.hasOwnProperty, Decl(lib.es5.d.ts, --, --)) 15 >hasOwnProperty : Symbol(Object.hasOwnProperty, Decl(lib.es5.d.ts, --, --)) 22 var d = x['hasOwnProperty']('toFixed'); 25 >'hasOwnProperty' : Symbol(Object.hasOwnProperty, Decl(lib.es5.d.ts, --, --))
|
D | typePredicateStructuralMatch.types | 41 return value.hasOwnProperty('data'); 42 >value.hasOwnProperty('data') : boolean 43 >value.hasOwnProperty : (v: PropertyKey) => boolean 45 >hasOwnProperty : (v: PropertyKey) => boolean 70 return !value.hasOwnProperty('data'); 71 >!value.hasOwnProperty('data') : boolean 72 >value.hasOwnProperty('data') : boolean 73 >value.hasOwnProperty : (v: PropertyKey) => boolean 75 >hasOwnProperty : (v: PropertyKey) => boolean
|
D | typePredicateStructuralMatch.symbols | 37 return value.hasOwnProperty('data'); 38 >value.hasOwnProperty : Symbol(Object.hasOwnProperty, Decl(lib.es5.d.ts, --, --)) 40 >hasOwnProperty : Symbol(Object.hasOwnProperty, Decl(lib.es5.d.ts, --, --)) 70 return !value.hasOwnProperty('data'); 71 >value.hasOwnProperty : Symbol(Object.hasOwnProperty, Decl(lib.es5.d.ts, --, --)) 73 >hasOwnProperty : Symbol(Object.hasOwnProperty, Decl(lib.es5.d.ts, --, --))
|
D | intrinsics.symbols | 2 var hasOwnProperty: hasOwnProperty; // Error 3 >hasOwnProperty : Symbol(hasOwnProperty, Decl(intrinsics.ts, 0, 3)) 4 >hasOwnProperty : Symbol(hasOwnProperty)
|
D | evolvingArrayResolvedAssert.symbols | 9 if (C.hasOwnProperty(a)) { 10 >C.hasOwnProperty : Symbol(Object.hasOwnProperty, Decl(lib.es5.d.ts, --, --)) 12 >hasOwnProperty : Symbol(Object.hasOwnProperty, Decl(lib.es5.d.ts, --, --))
|
D | typeGuardNarrowByMutableUntypedField.symbols | 2 declare function hasOwnProperty<P extends PropertyKey>(target: {}, property: P): target is { [K in … 3 >hasOwnProperty : Symbol(hasOwnProperty, Decl(typeGuardNarrowByMutableUntypedField.ts, 0, 0)) 18 if (hasOwnProperty(arrayLikeOrIterable, 'length')) { 19 >hasOwnProperty : Symbol(hasOwnProperty, Decl(typeGuardNarrowByMutableUntypedField.ts, 0, 0))
|
D | typeGuardNarrowByUntypedField.symbols | 2 declare function hasOwnProperty<P extends PropertyKey>(target: {}, property: P): target is { readon… 3 >hasOwnProperty : Symbol(hasOwnProperty, Decl(typeGuardNarrowByUntypedField.ts, 0, 0)) 18 if (hasOwnProperty(arrayLikeOrIterable, 'length')) { 19 >hasOwnProperty : Symbol(hasOwnProperty, Decl(typeGuardNarrowByUntypedField.ts, 0, 0))
|
D | typeGuardNarrowByUntypedField.types | 2 declare function hasOwnProperty<P extends PropertyKey>(target: {}, property: P): target is { readon… 3 >hasOwnProperty : <P extends PropertyKey>(target: {}, property: P) => target is { readonly [K in P]… 10 if (hasOwnProperty(arrayLikeOrIterable, 'length')) { 11 >hasOwnProperty(arrayLikeOrIterable, 'length') : boolean 12 >hasOwnProperty : <P extends PropertyKey>(target: {}, property: P) => target is { readonly [K in P]…
|
D | typeGuardNarrowByMutableUntypedField.types | 2 declare function hasOwnProperty<P extends PropertyKey>(target: {}, property: P): target is { [K in … 3 >hasOwnProperty : <P extends PropertyKey>(target: {}, property: P) => target is { [K in P]: unknown… 10 if (hasOwnProperty(arrayLikeOrIterable, 'length')) { 11 >hasOwnProperty(arrayLikeOrIterable, 'length') : boolean 12 >hasOwnProperty : <P extends PropertyKey>(target: {}, property: P) => target is { [K in P]: unknown…
|
D | staticInstanceResolution2.js | 3 A.hasOwnProperty('foo'); 8 B.hasOwnProperty('foo'); 20 A.hasOwnProperty('foo'); 26 B.hasOwnProperty('foo');
|
D | evolvingArrayResolvedAssert.types | 10 if (C.hasOwnProperty(a)) { 11 >C.hasOwnProperty(a) : boolean 12 >C.hasOwnProperty : (v: PropertyKey) => boolean 14 >hasOwnProperty : (v: PropertyKey) => boolean
|
D | superInStaticMembers1(target=es5).js | 517 … function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; 650 … function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; 679 … function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; 708 … function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; 737 … function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; 769 … function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; 801 … function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; 833 … function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; 866 … function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; 902 … function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; [all …]
|
D | classAppearsToHaveMembersOfObject.symbols | 16 var r2 = c.hasOwnProperty(''); 18 >c.hasOwnProperty : Symbol(Object.hasOwnProperty, Decl(lib.es5.d.ts, --, --)) 20 >hasOwnProperty : Symbol(Object.hasOwnProperty, Decl(lib.es5.d.ts, --, --))
|
/third_party/jerryscript/tests/jerry/ |
D | object-prototype-hasownproperty.js | 18 assert (obj1.hasOwnProperty('prop') === true); 19 assert (obj1.hasOwnProperty('NO_PROP') === false); 24 obj1.hasOwnProperty({toString: function() { throw new ReferenceError ("foo"); }}); 36 obj2.hasOwnProperty("fail"); 46 assert (obj3.hasOwnProperty("Test") === true); 49 assert (obj3.hasOwnProperty("Test2") === true); 52 assert (obj3.hasOwnProperty("Test4") === true);
|
/third_party/jerryscript/tests/jerry/es2015/ |
D | length-property.js | 77 assert(obj.hasOwnProperty('length') === true); 79 assert(obj.hasOwnProperty('length') === false); 83 assert(ta.hasOwnProperty('length') === true); 85 assert(ta.hasOwnProperty('length') === false); 101 assert(func.hasOwnProperty('length') === true); 103 assert(func.hasOwnProperty('length') === false); 126 assert(func.hasOwnProperty('length') === true); 128 assert(func.hasOwnProperty('length') === false);
|
/third_party/node/test/fixtures/wpt/webidl/ecmascript-binding/es-exceptions/ |
D | DOMException-constructor-behavior.any.js | 13 assert_false(ex.hasOwnProperty("name"), 15 assert_false(ex.hasOwnProperty("message"), 37 assert_false(ex.hasOwnProperty("name"), 39 assert_false(ex.hasOwnProperty("message"), 52 assert_false(ex.hasOwnProperty("name"), 54 assert_false(ex.hasOwnProperty("message"), 75 assert_false(ex.hasOwnProperty("name"), 77 assert_false(ex.hasOwnProperty("message"),
|
/third_party/typescript/tests/cases/conformance/expressions/superPropertyAccess/ |
D | errorSuperPropertyAccess.ts | 7 var b = super.hasOwnProperty(''); 12 var b = super.hasOwnProperty(''); 16 n = super.hasOwnProperty(''); 21 super.hasOwnProperty(''); 25 super.hasOwnProperty(''); 30 super.hasOwnProperty('');
|