An array containing the names of the functions on Object.prototype
.
npm install object-prototype-functions --save
const ObjectPrototypeFunctions = require('object-prototype-functions')
console.log('The functions of Object.prototype are:')
console.log(ObjectPrototypeFunctions.join(', ')) // hasOwnProperty, isPrototypeOf...
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.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。