List of prototype properties for JavaScript types
It's just a JSON file and can be used wherever.
$ npm install proto-props
const prototypeProperties = require('proto-props');
console.log(prototypeProperties);
/*
{
Array: [
'length',
'constructor',
'toString',
'toLocaleString',
'join',
'pop',
…
],
ArrayBuffer: [
'constructor',
'byteLength',
'slice'
],
…
}
*/
The JSON file is generated by running:
$ npm run make
MIT © Sindre Sorhus