TypeScript/tests/cases/compiler/library_ObjectPrototypeProperties.ts
2014-07-12 17:30:19 -07:00

9 lines
376 B
TypeScript

// 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");