List of prototype properties for JavaScript types
npm install prototype-properties> List of prototype properties for JavaScript types
It's just a JSON file and can be used wherever.
``sh`
npm install prototype-properties
`js
import prototypeProperties from 'prototype-properties';
console.log(prototypeProperties);
/*
{
Array: [
'length',
'constructor',
'toString',
'toLocaleString',
'join',
'pop',
…
],
ArrayBuffer: [
'constructor',
'byteLength',
'slice'
],
…
}
*/
`
The JSON file is generated by running:
`sh``
npm run build