1.2.0 • Published 4 years ago

object-prototype-functions v1.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

object-prototype-functions

An array containing the names of the functions on Object.prototype.

npm build status js-standard-style

Installation

npm install object-prototype-functions --save

Usage

const ObjectPrototypeFunctions = require('object-prototype-functions')

console.log('The functions of Object.prototype are:')
console.log(ObjectPrototypeFunctions.join(', ')) // hasOwnProperty, isPrototypeOf...

API

ObjectPrototypeFunctions

An array containing the names of the functions on Object.prototype.

ObjectPrototypeFunctions.deprecated

An array containing the names of the deprecated functions on Object.prototype.

ObjectPrototypeFunctions.nonSpec

An array containing the names of the non-spec'd functions on Object.prototype.

ObjectPrototypeFunctions.nodejs

An array containing the all names of the functions on Object.prototype that are normally available in Node.js - both the spec'd and deprecated functions.

ObjectPrototypeFunctions.all

An array containing the all names of the functions on Object.prototype

  • both the spec'd, deprecated, and non-spec'd functions.

License

MIT