TypeScript/tests/baselines/reference/library_ObjectPrototypeProperties.js
2014-08-15 15:49:09 -07:00

22 lines
856 B
TypeScript

//// [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
Object.prototype.constructor;
Object.prototype.toString();
Object.prototype.toLocaleString();
Object.prototype.valueOf();
Object.prototype.hasOwnProperty("string");
Object.prototype.isPrototypeOf(Object);
Object.prototype.propertyIsEnumerable("string");