TypeScript/tests/baselines/reference/library_ObjectPrototypeProperties.js
2014-07-12 17:30:19 -07:00

20 lines
731 B
JavaScript

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