| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 
 | === tests/cases/compiler/library_ObjectPrototypeProperties.ts ===
// Properties of the Object Prototype Object as per ES5 spec
// http://www.ecma-international.org/ecma-262/5.1/#sec-15.2.4
Object.prototype.constructor;
>Object.prototype.constructor : Symbol(Object.constructor, Decl(lib.es5.d.ts, --, --))
>Object.prototype : Symbol(ObjectConstructor.prototype, Decl(lib.es5.d.ts, --, --))
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
>prototype : Symbol(ObjectConstructor.prototype, Decl(lib.es5.d.ts, --, --))
>constructor : Symbol(Object.constructor, Decl(lib.es5.d.ts, --, --))
Object.prototype.toString();
>Object.prototype.toString : Symbol(Object.toString, Decl(lib.es5.d.ts, --, --))
>Object.prototype : Symbol(ObjectConstructor.prototype, Decl(lib.es5.d.ts, --, --))
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
>prototype : Symbol(ObjectConstructor.prototype, Decl(lib.es5.d.ts, --, --))
>toString : Symbol(Object.toString, Decl(lib.es5.d.ts, --, --))
Object.prototype.toLocaleString();
>Object.prototype.toLocaleString : Symbol(Object.toLocaleString, Decl(lib.es5.d.ts, --, --))
>Object.prototype : Symbol(ObjectConstructor.prototype, Decl(lib.es5.d.ts, --, --))
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
>prototype : Symbol(ObjectConstructor.prototype, Decl(lib.es5.d.ts, --, --))
>toLocaleString : Symbol(Object.toLocaleString, Decl(lib.es5.d.ts, --, --))
Object.prototype.valueOf();
>Object.prototype.valueOf : Symbol(Object.valueOf, Decl(lib.es5.d.ts, --, --))
>Object.prototype : Symbol(ObjectConstructor.prototype, Decl(lib.es5.d.ts, --, --))
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
>prototype : Symbol(ObjectConstructor.prototype, Decl(lib.es5.d.ts, --, --))
>valueOf : Symbol(Object.valueOf, Decl(lib.es5.d.ts, --, --))
Object.prototype.hasOwnProperty("string");
>Object.prototype.hasOwnProperty : Symbol(Object.hasOwnProperty, Decl(lib.es5.d.ts, --, --))
>Object.prototype : Symbol(ObjectConstructor.prototype, Decl(lib.es5.d.ts, --, --))
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
>prototype : Symbol(ObjectConstructor.prototype, Decl(lib.es5.d.ts, --, --))
>hasOwnProperty : Symbol(Object.hasOwnProperty, Decl(lib.es5.d.ts, --, --))
Object.prototype.isPrototypeOf(Object);
>Object.prototype.isPrototypeOf : Symbol(Object.isPrototypeOf, Decl(lib.es5.d.ts, --, --))
>Object.prototype : Symbol(ObjectConstructor.prototype, Decl(lib.es5.d.ts, --, --))
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
>prototype : Symbol(ObjectConstructor.prototype, Decl(lib.es5.d.ts, --, --))
>isPrototypeOf : Symbol(Object.isPrototypeOf, Decl(lib.es5.d.ts, --, --))
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
Object.prototype.propertyIsEnumerable("string");
>Object.prototype.propertyIsEnumerable : Symbol(Object.propertyIsEnumerable, Decl(lib.es5.d.ts, --, --))
>Object.prototype : Symbol(ObjectConstructor.prototype, Decl(lib.es5.d.ts, --, --))
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
>prototype : Symbol(ObjectConstructor.prototype, Decl(lib.es5.d.ts, --, --))
>propertyIsEnumerable : Symbol(Object.propertyIsEnumerable, Decl(lib.es5.d.ts, --, --))
 |