\begin{quote}
Force V8 to use fast properties for an object \end{quote}
\href{http://stackoverflow.com/questions/24987896/}{\texttt{ Read more.}}

Use {\ttfamily Has\+Fast\+Properties(object)} and {\ttfamily -\/-\/allow-\/natives-\/syntax} to check whether an object already has fast properties.\hypertarget{md_sfcode_node_modules_to_fast_properties_readme_autotoc_md30486}{}\doxysection{Install}\label{md_sfcode_node_modules_to_fast_properties_readme_autotoc_md30486}

\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm install -\/-\/save to-\/fast-\/properties }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_to_fast_properties_readme_autotoc_md30487}{}\doxysection{Usage}\label{md_sfcode_node_modules_to_fast_properties_readme_autotoc_md30487}

\begin{DoxyCode}{0}
\DoxyCodeLine{const toFastProperties = require('to-\/fast-\/properties');}
\DoxyCodeLine{}
\DoxyCodeLine{const obj = \{}
\DoxyCodeLine{    foo: true,}
\DoxyCodeLine{    bar: true}
\DoxyCodeLine{\};}
\DoxyCodeLine{}
\DoxyCodeLine{delete obj.foo;}
\DoxyCodeLine{// `obj` now has slow properties}
\DoxyCodeLine{}
\DoxyCodeLine{toFastProperties(obj);}
\DoxyCodeLine{// `obj` now has fast properties }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_to_fast_properties_readme_autotoc_md30488}{}\doxysection{License}\label{md_sfcode_node_modules_to_fast_properties_readme_autotoc_md30488}
MIT © Petka Antonov, John-\/\+David Dalton, Sindre Sorhus 