TypeScript/tests/baselines/reference/library_ObjectPrototypeProperties.js

22 lines
856 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [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.toString();
Object.prototype.toLocaleString();
Object.prototype.valueOf();
Object.prototype.hasOwnProperty("string");
Object.prototype.isPrototypeOf(Object);
Object.prototype.propertyIsEnumerable("string");
//// [library_ObjectPrototypeProperties.js]
// Properties of the Object Prototype Object as per ES5 spec
// http://www.ecma-international.org/ecma-262/5.1/#sec-15.2.4
2014-07-13 01:04:16 +02:00
Object.prototype.constructor;
Object.prototype.toString();
Object.prototype.toLocaleString();
Object.prototype.valueOf();
Object.prototype.hasOwnProperty("string");
Object.prototype.isPrototypeOf(Object);
Object.prototype.propertyIsEnumerable("string");