to-fast-properties
- Version 4.0.0
- Published
- 3.77 kB
- No dependencies
- MIT license
Install
npm i to-fast-properties
yarn add to-fast-properties
pnpm add to-fast-properties
Overview
Force V8 to use fast properties for an object
Index
Functions
Functions
function toFastProperties
toFastProperties: <T extends object>(object?: T) => T;
Force V8 to use fast properties for an object.
Parameter object
Object to be made fast.
Returns
A shallow copy of the original object, but uncallable.
Package Files (1)
Dependencies (0)
No dependencies.
Dev Dependencies (2)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/to-fast-properties
.
- Markdown[](https://www.jsdocs.io/package/to-fast-properties)
- HTML<a href="https://www.jsdocs.io/package/to-fast-properties"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2983 ms. - Missing or incorrect documentation? Open an issue for this package.