Home
last modified time | relevance | path

Searched refs:hasOwnProperty (Results 1 – 25 of 1471) sorted by relevance

12345678910>>...59

/third_party/typescript/tests/baselines/reference/
DstaticInstanceResolution2.symbols5 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, --, --))
DerrorSuperPropertyAccess.types15 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 …]
Dintrinsics.errors.txt1 …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'.
DstringPropertyAccess.types14 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"
DnumberPropertyAccess.types13 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"
DstaticInstanceResolution2.types5 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
DerrorSuperPropertyAccess.js8 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 …]
DstringPropertyAccess.symbols11 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, --, --))
DnumberPropertyAccess.symbols11 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, --, --))
DtypePredicateStructuralMatch.types41 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
DtypePredicateStructuralMatch.symbols37 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, --, --))
Dintrinsics.symbols2 var hasOwnProperty: hasOwnProperty; // Error
3 >hasOwnProperty : Symbol(hasOwnProperty, Decl(intrinsics.ts, 0, 3))
4 >hasOwnProperty : Symbol(hasOwnProperty)
DevolvingArrayResolvedAssert.symbols9 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, --, --))
DtypeGuardNarrowByMutableUntypedField.symbols2 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))
DtypeGuardNarrowByUntypedField.symbols2 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))
DtypeGuardNarrowByUntypedField.types2 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]…
DtypeGuardNarrowByMutableUntypedField.types2 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…
DstaticInstanceResolution2.js3 A.hasOwnProperty('foo');
8 B.hasOwnProperty('foo');
20 A.hasOwnProperty('foo');
26 B.hasOwnProperty('foo');
DevolvingArrayResolvedAssert.types10 if (C.hasOwnProperty(a)) {
11 >C.hasOwnProperty(a) : boolean
12 >C.hasOwnProperty : (v: PropertyKey) => boolean
14 >hasOwnProperty : (v: PropertyKey) => boolean
DsuperInStaticMembers1(target=es5).js517 … 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 …]
DclassAppearsToHaveMembersOfObject.symbols16 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/
Dobject-prototype-hasownproperty.js18 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/
Dlength-property.js77 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/
DDOMException-constructor-behavior.any.js13 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/
DerrorSuperPropertyAccess.ts7 var b = super.hasOwnProperty('');
12 var b = super.hasOwnProperty('');
16 n = super.hasOwnProperty('');
21 super.hasOwnProperty('');
25 super.hasOwnProperty('');
30 super.hasOwnProperty('');

12345678910>>...59