to-fast-properties
Install
$ npm install --save to-fast-propertiesUsage
const toFastProperties = require('to-fast-properties');
const obj = {
foo: true,
bar: true
};
delete obj.foo;
// `obj` now has slow properties
toFastProperties(obj);
// `obj` now has fast propertiesLicense
Last updated