\href{https://semaphoreci.com/medikoo-org/es5-ext}{\texttt{ }} \href{https://ci.appveyor.com/project/medikoo/es5-ext}{\texttt{ }}  \href{https://www.npmjs.com/package/es5-ext}{\texttt{ }}\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8908}{}\doxysection{es5-\/ext}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8908}
\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8909}{}\doxysubsection{ECMAScript 5 extensions}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8909}
\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8910}{}\doxysubsubsection{(with respect to ECMAScript 6 standard)}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8910}
Shims for upcoming ES6 standard and other goodies implemented strictly with ECMAScript conventions in mind.

It\textquotesingle{}s designed to be used in compliant ECMAScript 5 or ECMAScript 6 environments. Older environments are not supported, although most of the features should work with correct ECMAScript 5 shim on board.

When used in ECMAScript 6 environment, native implementation (if valid) takes precedence over shims.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8911}{}\doxysubsubsection{Installation}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8911}
\begin{DoxyVerb}$ npm install es5-ext
\end{DoxyVerb}
 To port it to Browser or any other (non CJS) environment, use your favorite CJS bundler. No favorite yet? Try\+: \href{http://browserify.org/}{\texttt{ Browserify}}, \href{https://github.com/medikoo/modules-webmake}{\texttt{ Webmake}} or \href{http://webpack.github.io/}{\texttt{ Webpack}}\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8912}{}\doxysubsubsection{Usage}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8912}
\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8913}{}\doxyparagraph{ECMAScript 6 features}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8913}
You can force ES6 features to be implemented in your environment, e.\+g. following will assign {\ttfamily from} function to {\ttfamily Array} (only if it\textquotesingle{}s not implemented already).


\begin{DoxyCode}{0}
\DoxyCodeLine{require("{}es5-\/ext/array/from/implement"{});}
\DoxyCodeLine{Array.from("{}foo"{}); // ['f', 'o', 'o'] }

\end{DoxyCode}


You can also access shims directly, without fixing native objects. Following will return native {\ttfamily Array.\+from} if it\textquotesingle{}s available and fallback to shim if it\textquotesingle{}s not.


\begin{DoxyCode}{0}
\DoxyCodeLine{var aFrom = require("{}es5-\/ext/array/from"{});}
\DoxyCodeLine{aFrom("{}foo"{}); // ['f', 'o', 'o'] }

\end{DoxyCode}


If you want to use shim unconditionally (even if native implementation exists) do\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{var aFrom = require("{}es5-\/ext/array/from/shim"{});}
\DoxyCodeLine{aFrom("{}foo"{}); // ['f', 'o', 'o'] }

\end{DoxyCode}


\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8914}%
\Hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8914}%
\doxysubparagraph*{List of ES6 shims}

It\textquotesingle{}s about properties introduced with ES6 and those that have been updated in new spec.


\begin{DoxyItemize}
\item {\ttfamily Array.\+from} -\/$>$ `require(\textquotesingle{}es5-\/ext/array/from'){\ttfamily  -\/}Array.\+of$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/array/of\textquotesingle{}){\ttfamily  -\/}Array.\+prototype.\+concat$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/array/\#/concat\textquotesingle{}){\ttfamily  -\/}Array.\+prototype.\+copy\+Within$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/array/\#/copy-\/within\textquotesingle{}){\ttfamily  -\/}Array.\+prototype.\+entries$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/array/\#/entries\textquotesingle{}){\ttfamily  -\/}Array.\+prototype.\+fill$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/array/\#/fill\textquotesingle{}){\ttfamily  -\/}Array.\+prototype.\+filter$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/array/\#/filter\textquotesingle{}){\ttfamily  -\/}Array.\+prototype.\+find$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/array/\#/find\textquotesingle{}){\ttfamily  -\/}Array.\+prototype.\+find\+Index$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/array/\#/find-\/index\textquotesingle{}){\ttfamily  -\/}Array.\+prototype.\+keys$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/array/\#/keys\textquotesingle{}){\ttfamily  -\/}Array.\+prototype.\+map$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/array/\#/map\textquotesingle{}){\ttfamily  -\/}Array.\+prototype.\+slice$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/array/\#/slice\textquotesingle{}){\ttfamily  -\/}Array.\+prototype.\+splice$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/array/\#/splice\textquotesingle{}){\ttfamily  -\/}Array.\+prototype.\+values$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/array/\#/values\textquotesingle{}){\ttfamily  -\/}Array.\+prototype\mbox{[}@iterator\mbox{]}{\ttfamily -\/$>$}require(\textquotesingle{}es5-\/ext/array/\#/@iterator\textquotesingle{}){\ttfamily  -\/}Math.\+acosh$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/math/acosh\textquotesingle{}){\ttfamily  -\/}Math.\+asinh$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/math/asinh\textquotesingle{}){\ttfamily  -\/}Math.\+atanh$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/math/atanh\textquotesingle{}){\ttfamily  -\/}Math.\+cbrt$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/math/cbrt\textquotesingle{}){\ttfamily  -\/}Math.\+clz32$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/math/clz32\textquotesingle{}){\ttfamily  -\/}Math.\+cosh$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/math/cosh\textquotesingle{}){\ttfamily  -\/}Math.\+exmp1$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/math/expm1\textquotesingle{}){\ttfamily  -\/}Math.\+fround$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/math/fround\textquotesingle{}){\ttfamily  -\/}Math.\+hypot$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/math/hypot\textquotesingle{}){\ttfamily  -\/}Math.\+imul$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/math/imul\textquotesingle{}){\ttfamily  -\/}Math.\+log1p$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/math/log1p\textquotesingle{}){\ttfamily  -\/}Math.\+log2$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/math/log2\textquotesingle{}){\ttfamily  -\/}Math.\+log10$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/math/log10\textquotesingle{}){\ttfamily  -\/}Math.\+sign$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/math/sign\textquotesingle{}){\ttfamily  -\/}Math.\+signh$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/math/signh\textquotesingle{}){\ttfamily  -\/}Math.\+tanh$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/math/tanh\textquotesingle{}){\ttfamily  -\/}Math.\+trunc$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/math/trunc\textquotesingle{}){\ttfamily  -\/}Number.\+EPSILON$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/number/epsilon\textquotesingle{}){\ttfamily  -\/}Number.\+MAX\+\_\+\+SAFE\+\_\+\+INTEGER$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/number/max-\/safe-\/integer\textquotesingle{}){\ttfamily  -\/}Number.\+MIN\+\_\+\+SAFE\+\_\+\+INTEGER$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/number/min-\/safe-\/integer\textquotesingle{}){\ttfamily  -\/}Number.\+is\+Finite$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/number/is-\/finite\textquotesingle{}){\ttfamily  -\/}Number.\+is\+Integer$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/number/is-\/integer\textquotesingle{}){\ttfamily  -\/}Number.\+is\+Na\+N$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/number/is-\/nan\textquotesingle{}){\ttfamily  -\/}Number.\+is\+Safe\+Integer$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/number/is-\/safe-\/integer\textquotesingle{}){\ttfamily  -\/}Object.\+assign$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/object/assign\textquotesingle{}){\ttfamily  -\/}Object.\+keys$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/object/keys\textquotesingle{}){\ttfamily  -\/}Object.\+set\+Prototype\+Of$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/object/set-\/prototype-\/of\textquotesingle{}){\ttfamily  -\/}Promise.\+prototype.\+finally$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/promise/\#/finally\textquotesingle{}){\ttfamily  -\/}Reg\+Exp.\+prototype.\+match$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/reg-\/exp/\#/match\textquotesingle{}){\ttfamily  -\/}Reg\+Exp.\+prototype.\+replace$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/reg-\/exp/\#/replace\textquotesingle{}){\ttfamily  -\/}Reg\+Exp.\+prototype.\+search$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/reg-\/exp/\#/search\textquotesingle{}){\ttfamily  -\/}Reg\+Exp.\+prototype.\+split$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/reg-\/exp/\#/split\textquotesingle{}){\ttfamily  -\/}Reg\+Exp.\+prototype.\+sticky$<$tt$>$-\/$>$ Implement withrequire(\textquotesingle{}es5-\/ext/reg-\/exp/\#/sticky/implement\textquotesingle{}){\ttfamily , use as function with}require(\textquotesingle{}es5-\/ext/reg-\/exp/\#/is-\/sticky\textquotesingle{}){\ttfamily  -\/}Reg\+Exp.\+prototype.\+unicode$<$tt$>$-\/$>$ Implement withrequire(\textquotesingle{}es5-\/ext/reg-\/exp/\#/unicode/implement\textquotesingle{}){\ttfamily , use as function with}require(\textquotesingle{}es5-\/ext/reg-\/exp/\#/is-\/unicode\textquotesingle{}){\ttfamily  -\/}String.\+from\+Code\+Point$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/string/from-\/code-\/point\textquotesingle{}){\ttfamily  -\/}String.\+raw$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/string/raw\textquotesingle{}){\ttfamily  -\/}String.\+prototype.\+code\+Point\+At$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/string/\#/code-\/point-\/at\textquotesingle{}){\ttfamily  -\/}String.\+prototype.\+contains$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/string/\#/contains\textquotesingle{}){\ttfamily  -\/}String.\+prototype.\+ends\+With$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/string/\#/ends-\/with\textquotesingle{}){\ttfamily  -\/}String.\+prototype.\+normalize$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/string/\#/normalize\textquotesingle{}){\ttfamily  -\/}String.\+prototype.\+repeat$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/string/\#/repeat\textquotesingle{}){\ttfamily  -\/}String.\+prototype.\+starts\+With$<$tt$>$-\/$>$require(\textquotesingle{}es5-\/ext/string/\#/starts-\/with\textquotesingle{}){\ttfamily  -\/}String.\+prototype\mbox{[}@iterator\mbox{]}{\ttfamily -\/$>$}require(\textquotesingle{}es5-\/ext/string/\#/@iterator\textquotesingle{})\`{}
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8915}{}\doxyparagraph{Non ECMAScript standard features}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8915}
{\bfseries{es5-\/ext}} provides also other utils, and implements them as if they were proposed for a standard. It mostly offers methods (not functions) which can directly be assigned to native prototypes\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{Object.defineProperty(Function.prototype, "{}partial"{}, \{}
\DoxyCodeLine{  value: require("{}es5-\/ext/function/\#/partial"{}),}
\DoxyCodeLine{  configurable: true,}
\DoxyCodeLine{  enumerable: false,}
\DoxyCodeLine{  writable: true}
\DoxyCodeLine{\});}
\DoxyCodeLine{Object.defineProperty(Array.prototype, "{}flatten"{}, \{}
\DoxyCodeLine{  value: require("{}es5-\/ext/array/\#/flatten"{}),}
\DoxyCodeLine{  configurable: true,}
\DoxyCodeLine{  enumerable: false,}
\DoxyCodeLine{  writable: true}
\DoxyCodeLine{\});}
\DoxyCodeLine{Object.defineProperty(String.prototype, "{}capitalize"{}, \{}
\DoxyCodeLine{  value: require("{}es5-\/ext/string/\#/capitalize"{}),}
\DoxyCodeLine{  configurable: true,}
\DoxyCodeLine{  enumerable: false,}
\DoxyCodeLine{  writable: true}
\DoxyCodeLine{\}); }

\end{DoxyCode}


See \href{https://github.com/wookieb/es5-extend\#es5-extend}{\texttt{ es5-\/extend}}, a great utility that automatically will extend natives for you.

{\bfseries{Important\+:}} Remember to {\bfseries{not}} extend natives in scope of generic reusable packages (e.\+g. ones you intend to publish to npm). Extending natives is fine {\bfseries{only}} if you\textquotesingle{}re the {\itshape owner} of the global scope, so e.\+g. in final project you lead development of.

When you\textquotesingle{}re in situation when native extensions are not good idea, then you should use methods indirectly\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{var flatten = require("{}es5-\/ext/array/\#/flatten"{});}
\DoxyCodeLine{}
\DoxyCodeLine{flatten.call([1, [2, [3, 4]]]); // [1, 2, 3, 4] }

\end{DoxyCode}


for better convenience you can turn methods into functions\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{var call = Function.prototype.call;}
\DoxyCodeLine{var flatten = call.bind(require("{}es5-\/ext/array/\#/flatten"{}));}
\DoxyCodeLine{}
\DoxyCodeLine{flatten([1, [2, [3, 4]]]); // [1, 2, 3, 4] }

\end{DoxyCode}


You can configure custom toolkit (like \href{http://underscorejs.org/}{\texttt{ underscorejs}}), and use it throughout your application


\begin{DoxyCode}{0}
\DoxyCodeLine{var util = \{\};}
\DoxyCodeLine{util.partial = call.bind(require("{}es5-\/ext/function/\#/partial"{}));}
\DoxyCodeLine{util.flatten = call.bind(require("{}es5-\/ext/array/\#/flatten"{}));}
\DoxyCodeLine{util.startsWith = call.bind(require("{}es5-\/ext/string/\#/starts-\/with"{}));}
\DoxyCodeLine{}
\DoxyCodeLine{util.flatten([1, [2, [3, 4]]]); // [1, 2, 3, 4] }

\end{DoxyCode}


As with native ones most methods are generic and can be run on any type of object.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8916}{}\doxysubsection{API}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8916}
\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8917}{}\doxysubsubsection{Global extensions}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8917}
\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8918}{}\doxyparagraph{global \+\_\+(es5-\/ext/global)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8918}
Object that represents global scope\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8919}{}\doxysubsubsection{Array Constructor extensions}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8919}
\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8920}{}\doxyparagraph{from(array\+Like\mbox{[}, map\+Fn\mbox{[}, this\+Arg\mbox{]}\mbox{]}) \+\_\+(es5-\/ext/array/from)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8920}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-array.from}{\texttt{ {\itshape Introduced with ECMAScript 6}}}. Returns array representation of {\itshape iterable} or {\itshape array\+Like}. If {\itshape array\+Like} is an instance of array, its copy is returned.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8921}{}\doxyparagraph{generate(\mbox{[}length\mbox{[}, …fill\mbox{]}\mbox{]}) \+\_\+(es5-\/ext/array/generate)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8921}
Generate an array of pre-\/given {\itshape length} built of repeated arguments.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8922}{}\doxyparagraph{is\+Plain\+Array(x) \+\_\+(es5-\/ext/array/is-\/plain-\/array)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8922}
Returns true if object is plain array (not instance of one of the Array\textquotesingle{}s extensions).\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8923}{}\doxyparagraph{of(\mbox{[}…items\mbox{]}) \+\_\+(es5-\/ext/array/of)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8923}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-array.of}{\texttt{ {\itshape Introduced with ECMAScript 6}}}. Create an array from given arguments.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8924}{}\doxyparagraph{to\+Array(obj) \+\_\+(es5-\/ext/array/to-\/array)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8924}
Returns array representation of {\ttfamily obj}. If {\ttfamily obj} is already an array, {\ttfamily obj} is returned back.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8925}{}\doxyparagraph{valid\+Array(obj) \+\_\+(es5-\/ext/array/valid-\/array)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8925}
Returns {\ttfamily obj} if it\textquotesingle{}s an array, otherwise throws {\ttfamily Type\+Error}\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8926}{}\doxysubsubsection{Array Prototype extensions}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8926}
\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8927}{}\doxyparagraph{arr.\+binary\+Search(compare\+Fn) \+\_\+(es5-\/ext/array/\#/binary-\/search)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8927}
In {\bfseries{sorted}} list search for index of item for which {\itshape compare\+Fn} returns value closest to {\itshape 0}. It\textquotesingle{}s variant of binary search algorithm\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8928}{}\doxyparagraph{arr.\+clear() \+\_\+(es5-\/ext/array/\#/clear)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8928}
Clears the array\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8929}{}\doxyparagraph{arr.\+compact() \+\_\+(es5-\/ext/array/\#/compact)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8929}
Returns a copy of the context with all non-\/values ({\ttfamily null} or {\ttfamily undefined}) removed.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8930}{}\doxyparagraph{arr.\+concat() \+\_\+(es5-\/ext/array/\#/concat)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8930}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-array.prototype.concat}{\texttt{ {\itshape Updated with ECMAScript 6}}}. ES6\textquotesingle{}s version of {\ttfamily concat}. Supports {\ttfamily is\+Concat\+Spreadable} symbol, and returns array of same type as the context.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8931}{}\doxyparagraph{arr.\+contains(search\+Element\mbox{[}, position\mbox{]}) \+\_\+(es5-\/ext/array/\#/contains)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8931}
Whether list contains the given value.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8932}{}\doxyparagraph{arr.\+copy\+Within(target, start\mbox{[}, end\mbox{]}) \+\_\+(es5-\/ext/array/\#/copy-\/within)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8932}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-array.copywithin}{\texttt{ {\itshape Introduced with ECMAScript 6}}}.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8933}{}\doxyparagraph{arr.\+diff(other) \+\_\+(es5-\/ext/array/\#/diff)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8933}
Returns the array of elements that are present in context list but not present in other list.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8934}{}\doxyparagraph{arr.\+e\+Index\+Of(search\+Element\mbox{[}, from\+Index\mbox{]}) \+\_\+(es5-\/ext/array/\#/e-\/index-\/of)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8934}
{\itshape egal} version of {\ttfamily index\+Of} method. \href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-samevaluezero}{\texttt{ {\itshape Same\+Value\+Zero}}} logic is used for comparision\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8935}{}\doxyparagraph{arr.\+e\+Last\+Index\+Of(search\+Element\mbox{[}, from\+Index\mbox{]}) \+\_\+(es5-\/ext/array/\#/e-\/last-\/index-\/of)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8935}
{\itshape egal} version of {\ttfamily last\+Index\+Of} method. \href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-samevaluezero}{\texttt{ {\itshape Same\+Value\+Zero}}} logic is used for comparision\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8936}{}\doxyparagraph{arr.\+entries() \+\_\+(es5-\/ext/array/\#/entries)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8936}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-array.prototype.entries}{\texttt{ {\itshape Introduced with ECMAScript 6}}}. Returns iterator object, which traverses the array. Each value is represented with an array, where first value is an index and second is corresponding to index value.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8937}{}\doxyparagraph{arr.\+exclusion(\mbox{[}…lists\mbox{]}\mbox{]}) \+\_\+(es5-\/ext/array/\#/exclusion)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8937}
Returns the array of elements that are found only in one of the lists (either context list or list provided in arguments).\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8938}{}\doxyparagraph{arr.\+fill(value\mbox{[}, start, end\mbox{]}) \+\_\+(es5-\/ext/array/\#/fill)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8938}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-array.fill}{\texttt{ {\itshape Introduced with ECMAScript 6}}}.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8939}{}\doxyparagraph{arr.\+filter(callback\mbox{[}, this\+Arg\mbox{]}) \+\_\+(es5-\/ext/array/\#/filter)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8939}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-array.filter}{\texttt{ {\itshape Updated with ECMAScript 6}}}. ES6\textquotesingle{}s version of {\ttfamily filter}, returns array of same type as the context.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8940}{}\doxyparagraph{arr.\+find(predicate\mbox{[}, this\+Arg\mbox{]}) \+\_\+(es5-\/ext/array/\#/find)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8940}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-array.find}{\texttt{ {\itshape Introduced with ECMAScript 6}}}. Return first element for which given function returns true\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8941}{}\doxyparagraph{arr.\+find\+Index(predicate\mbox{[}, this\+Arg\mbox{]}) \+\_\+(es5-\/ext/array/\#/find-\/index)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8941}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-array.findindex}{\texttt{ {\itshape Introduced with ECMAScript 6}}}. Return first index for which given function returns true\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8942}{}\doxyparagraph{arr.\+first() \+\_\+(es5-\/ext/array/\#/first)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8942}
Returns value for first defined index\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8943}{}\doxyparagraph{arr.\+first\+Index() \+\_\+(es5-\/ext/array/\#/first-\/index)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8943}
Returns first declared index of the array\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8944}{}\doxyparagraph{arr.\+flatten() \+\_\+(es5-\/ext/array/\#/flatten)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8944}
Returns flattened version of the array\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8945}{}\doxyparagraph{arr.\+for\+Each\+Right(cb\mbox{[}, this\+Arg\mbox{]}) \+\_\+(es5-\/ext/array/\#/for-\/each-\/right)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8945}
{\ttfamily for\+Each} starting from last element\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8946}{}\doxyparagraph{arr.\+group(cb\mbox{[}, this\+Arg\mbox{]}) \+\_\+(es5-\/ext/array/\#/group)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8946}
Group list elements by value returned by {\itshape cb} function\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8947}{}\doxyparagraph{arr.\+indexes\+Of(search\+Element\mbox{[}, from\+Index\mbox{]}) \+\_\+(es5-\/ext/array/\#/indexes-\/of)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8947}
Returns array of all indexes of given value\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8948}{}\doxyparagraph{arr.\+intersection(\mbox{[}…lists\mbox{]}) \+\_\+(es5-\/ext/array/\#/intersection)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8948}
Computes the array of values that are the intersection of all lists (context list and lists given in arguments)\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8949}{}\doxyparagraph{arr.\+is\+Copy(other) \+\_\+(es5-\/ext/array/\#/is-\/copy)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8949}
Returns true if both context and {\itshape other} lists have same content\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8950}{}\doxyparagraph{arr.\+is\+Uniq() \+\_\+(es5-\/ext/array/\#/is-\/uniq)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8950}
Returns true if all values in array are unique\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8951}{}\doxyparagraph{arr.\+keys() \+\_\+(es5-\/ext/array/\#/keys)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8951}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-array.prototype.keys}{\texttt{ {\itshape Introduced with ECMAScript 6}}}. Returns iterator object, which traverses all array indexes.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8952}{}\doxyparagraph{arr.\+last() \+\_\+(es5-\/ext/array/\#/last)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8952}
Returns value of last defined index\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8953}{}\doxyparagraph{arr.\+last\+Index() \+\_\+(es5-\/ext/array/\#/last)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8953}
Returns last defined index of the array\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8954}{}\doxyparagraph{arr.\+map(callback\mbox{[}, this\+Arg\mbox{]}) \+\_\+(es5-\/ext/array/\#/map)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8954}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-array.map}{\texttt{ {\itshape Updated with ECMAScript 6}}}. ES6\textquotesingle{}s version of {\ttfamily map}, returns array of same type as the context.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8955}{}\doxyparagraph{arr.\+remove(value\mbox{[}, …valuen\mbox{]}) \+\_\+(es5-\/ext/array/\#/remove)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8955}
Remove values from the array\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8956}{}\doxyparagraph{arr.\+separate(sep) \+\_\+(es5-\/ext/array/\#/separate)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8956}
Returns array with items separated with {\ttfamily sep} value\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8957}{}\doxyparagraph{arr.\+slice(callback\mbox{[}, this\+Arg\mbox{]}) \+\_\+(es5-\/ext/array/\#/slice)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8957}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-array.slice}{\texttt{ {\itshape Updated with ECMAScript 6}}}. ES6\textquotesingle{}s version of {\ttfamily slice}, returns array of same type as the context.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8958}{}\doxyparagraph{arr.\+some\+Right(cb\mbox{[}, this\+Arg\mbox{]}) \+\_\+(es5-\/ext/array/\#/some\+Right)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8958}
{\ttfamily some} starting from last element\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8959}{}\doxyparagraph{arr.\+splice(callback\mbox{[}, this\+Arg\mbox{]}) \+\_\+(es5-\/ext/array/\#/splice)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8959}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-array.splice}{\texttt{ {\itshape Updated with ECMAScript 6}}}. ES6\textquotesingle{}s version of {\ttfamily splice}, returns array of same type as the context.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8960}{}\doxyparagraph{arr.\+uniq() \+\_\+(es5-\/ext/array/\#/uniq)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8960}
Returns duplicate-\/free version of the array\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8961}{}\doxyparagraph{arr.\+values() \+\_\+(es5-\/ext/array/\#/values)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8961}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-array.prototype.values}{\texttt{ {\itshape Introduced with ECMAScript 6}}}. Returns iterator object which traverses all array values.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8962}{}\doxyparagraph{arr\mbox{[}@iterator\mbox{]} \+\_\+(es5-\/ext/array/\#/@iterator)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8962}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-array.prototype-@@iterator}{\texttt{ {\itshape Introduced with ECMAScript 6}}}. Returns iterator object which traverses all array values.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8963}{}\doxysubsubsection{Boolean Constructor extensions}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8963}
\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8964}{}\doxyparagraph{is\+Boolean(x) \+\_\+(es5-\/ext/boolean/is-\/boolean)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8964}
Whether value is boolean\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8965}{}\doxysubsubsection{Date Constructor extensions}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8965}
\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8966}{}\doxyparagraph{is\+Date(x) \+\_\+(es5-\/ext/date/is-\/date)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8966}
Whether value is date instance\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8967}{}\doxyparagraph{valid\+Date(x) \+\_\+(es5-\/ext/date/valid-\/date)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8967}
If given object is not date throw Type\+Error in other case return it.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8968}{}\doxysubsubsection{Date Prototype extensions}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8968}
\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8969}{}\doxyparagraph{date.\+copy(date) \+\_\+(es5-\/ext/date/\#/copy)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8969}
Returns a copy of the date object\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8970}{}\doxyparagraph{date.\+days\+In\+Month() \+\_\+(es5-\/ext/date/\#/days-\/in-\/month)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8970}
Returns number of days of date\textquotesingle{}s month\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8971}{}\doxyparagraph{date.\+floor\+Day() \+\_\+(es5-\/ext/date/\#/floor-\/day)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8971}
Sets the date time to 00\+:00\+:00.\+000\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8972}{}\doxyparagraph{date.\+floor\+Month() \+\_\+(es5-\/ext/date/\#/floor-\/month)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8972}
Sets date day to 1 and date time to 00\+:00\+:00.\+000\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8973}{}\doxyparagraph{date.\+floor\+Year() \+\_\+(es5-\/ext/date/\#/floor-\/year)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8973}
Sets date month to 0, day to 1 and date time to 00\+:00\+:00.\+000\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8974}{}\doxyparagraph{date.\+format(pattern) \+\_\+(es5-\/ext/date/\#/format)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8974}
Formats date up to given string. Supported patterns\+:


\begin{DoxyItemize}
\item {\ttfamily Y} -\/ Year with century, 1999, 2003
\item {\ttfamily y} -\/ Year without century, 99, 03
\item {\ttfamily m} -\/ Month, 01..12
\item {\ttfamily d} -\/ Day of the month 01..31
\item {\ttfamily H} -\/ Hour (24-\/hour clock), 00..23
\item {\ttfamily M} -\/ Minute, 00..59
\item {\ttfamily S} -\/ Second, 00..59
\item {\ttfamily L} -\/ Milliseconds, 000..999
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8975}{}\doxysubsubsection{Error Constructor extensions}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8975}
\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8976}{}\doxyparagraph{custom(message/\+\_\+, code, ext\+\_\+/) \+\_\+(es5-\/ext/error/custom)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8976}
Creates custom error object, optinally extended with {\ttfamily code} and other extension properties (provided with {\ttfamily ext} object)\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8977}{}\doxyparagraph{is\+Error(x) \+\_\+(es5-\/ext/error/is-\/error)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8977}
Whether value is an error (instance of {\ttfamily Error}).\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8978}{}\doxyparagraph{valid\+Error(x) \+\_\+(es5-\/ext/error/valid-\/error)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8978}
If given object is not error throw Type\+Error in other case return it.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8979}{}\doxysubsubsection{Error Prototype extensions}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8979}
\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8980}{}\doxyparagraph{err.\+throw() \+\_\+(es5-\/ext/error/\#/throw)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8980}
Throws error\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8981}{}\doxysubsubsection{Function Constructor extensions}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8981}
Some of the functions were inspired by \href{http://osteele.com/sources/javascript/functional/}{\texttt{ Functional Java\+Script}} project by Olivier Steele\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8982}{}\doxyparagraph{constant(x) \+\_\+(es5-\/ext/function/constant)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8982}
Returns a constant function that returns pregiven argument

{\itshape k(x)(y) =def x}\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8983}{}\doxyparagraph{identity(x) \+\_\+(es5-\/ext/function/identity)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8983}
Identity function. Returns first argument

{\itshape i(x) =def x}\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8984}{}\doxyparagraph{invoke(name\mbox{[}, …args\mbox{]}) \+\_\+(es5-\/ext/function/invoke)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8984}
Returns a function that takes an object as an argument, and applies object\textquotesingle{}s {\itshape name} method to arguments. {\itshape name} can be name of the method or method itself.

{\itshape invoke(name, …args)(object, …args2) =def object\mbox{[}name\mbox{]}(…args, …args2)}\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8985}{}\doxyparagraph{is\+Arguments(x) \+\_\+(es5-\/ext/function/is-\/arguments)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8985}
Whether value is arguments object\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8986}{}\doxyparagraph{is\+Function(arg) \+\_\+(es5-\/ext/function/is-\/function)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8986}
Whether value is instance of function\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8987}{}\doxyparagraph{noop() \+\_\+(es5-\/ext/function/noop)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8987}
No operation function\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8988}{}\doxyparagraph{pluck(name) \+\_\+(es5-\/ext/function/pluck)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8988}
Returns a function that takes an object, and returns the value of its {\itshape name} property

{\itshape pluck(name)(obj) =def obj\mbox{[}name\mbox{]}}\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8989}{}\doxyparagraph{valid\+Function(arg) \+\_\+(es5-\/ext/function/valid-\/function)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8989}
If given object is not function throw Type\+Error in other case return it.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8990}{}\doxysubsubsection{Function Prototype extensions}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8990}
Some of the methods were inspired by \href{http://osteele.com/sources/javascript/functional/}{\texttt{ Functional Java\+Script}} project by Olivier Steele\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8991}{}\doxyparagraph{fn.\+compose(\mbox{[}…fns\mbox{]}) \+\_\+(es5-\/ext/function/\#/compose)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8991}
Applies the functions in reverse argument-\/list order.

{\itshape f1.\+compose(f2, f3, f4)(…args) =def f1(f2(f3(f4(…arg))))}

{\ttfamily compose} can also be used in plain function form as\+:

{\itshape compose(f1, f2, f3, f4)(…args) =def f1(f2(f3(f4(…arg))))}\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8992}{}\doxyparagraph{fn.\+copy() \+\_\+(es5-\/ext/function/\#/copy)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8992}
Produces copy of given function\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8993}{}\doxyparagraph{fn.\+curry(\mbox{[}n\mbox{]}) \+\_\+(es5-\/ext/function/\#/curry)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8993}
Invoking the function returned by this function only {\itshape n} arguments are passed to the underlying function. If the underlying function is not saturated, the result is a function that passes all its arguments to the underlying function. If {\itshape n} is not provided then it defaults to context function length

{\itshape f.\+curry(4)(arg1, arg2)(arg3)(arg4) =def f(arg1, args2, arg3, arg4)}\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8994}{}\doxyparagraph{fn.\+lock(\mbox{[}…args\mbox{]}) \+\_\+(es5-\/ext/function/\#/lock)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8994}
Returns a function that applies the underlying function to {\itshape args}, and ignores its own arguments.

{\itshape f.\+lock(…args)(…args2) =def f(…args)}

{\itshape Named after it\textquotesingle{}s counterpart in Google Closure}\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8995}{}\doxyparagraph{fn.\+not() \+\_\+(es5-\/ext/function/\#/not)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8995}
Returns a function that returns boolean negation of value returned by underlying function.

{\itshape f.\+not()(…args) =def !f(…args)}\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8996}{}\doxyparagraph{fn.\+partial(\mbox{[}…args\mbox{]}) \+\_\+(es5-\/ext/function/\#/partial)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8996}
Returns a function that when called will behave like context function called with initially passed arguments. If more arguments are suplilied, they are appended to initial args.

{\itshape f.\+partial(…args1)(…args2) =def f(…args1, …args2)}\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8997}{}\doxyparagraph{fn.\+spread() \+\_\+(es5-\/ext/function/\#/spread)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8997}
Returns a function that applies underlying function with first list argument

{\itshape f.\+match()(args) =def f.\+apply(null, args)}\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8998}{}\doxyparagraph{fn.\+to\+String\+Tokens() \+\_\+(es5-\/ext/function/\#/to-\/string-\/tokens)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8998}
Serializes function into two (arguments and body) string tokens. Result is plain object with {\ttfamily args} and {\ttfamily body} properties.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md8999}{}\doxysubsubsection{Math extensions}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md8999}
\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9000}{}\doxyparagraph{acosh(x) \+\_\+(es5-\/ext/math/acosh)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9000}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-math.acosh}{\texttt{ {\itshape Introduced with ECMAScript 6}}}.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9001}{}\doxyparagraph{asinh(x) \+\_\+(es5-\/ext/math/asinh)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9001}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-math.asinh}{\texttt{ {\itshape Introduced with ECMAScript 6}}}.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9002}{}\doxyparagraph{atanh(x) \+\_\+(es5-\/ext/math/atanh)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9002}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-math.atanh}{\texttt{ {\itshape Introduced with ECMAScript 6}}}.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9003}{}\doxyparagraph{cbrt(x) \+\_\+(es5-\/ext/math/cbrt)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9003}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-math.cbrt}{\texttt{ {\itshape Introduced with ECMAScript 6}}}.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9004}{}\doxyparagraph{clz32(x) \+\_\+(es5-\/ext/math/clz32)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9004}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-math.clz32}{\texttt{ {\itshape Introduced with ECMAScript 6}}}.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9005}{}\doxyparagraph{cosh(x) \+\_\+(es5-\/ext/math/cosh)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9005}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-math.cosh}{\texttt{ {\itshape Introduced with ECMAScript 6}}}.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9006}{}\doxyparagraph{expm1(x) \+\_\+(es5-\/ext/math/expm1)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9006}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-math.expm1}{\texttt{ {\itshape Introduced with ECMAScript 6}}}.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9007}{}\doxyparagraph{fround(x) \+\_\+(es5-\/ext/math/fround)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9007}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-math.fround}{\texttt{ {\itshape Introduced with ECMAScript 6}}}.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9008}{}\doxyparagraph{hypot(\mbox{[}…values\mbox{]}) \+\_\+(es5-\/ext/math/hypot)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9008}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-math.hypot}{\texttt{ {\itshape Introduced with ECMAScript 6}}}.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9009}{}\doxyparagraph{imul(x, y) \+\_\+(es5-\/ext/math/imul)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9009}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-math.imul}{\texttt{ {\itshape Introduced with ECMAScript 6}}}.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9010}{}\doxyparagraph{log1p(x) \+\_\+(es5-\/ext/math/log1p)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9010}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-math.log1p}{\texttt{ {\itshape Introduced with ECMAScript 6}}}.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9011}{}\doxyparagraph{log2(x) \+\_\+(es5-\/ext/math/log2)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9011}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-math.log2}{\texttt{ {\itshape Introduced with ECMAScript 6}}}.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9012}{}\doxyparagraph{log10(x) \+\_\+(es5-\/ext/math/log10)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9012}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-math.log10}{\texttt{ {\itshape Introduced with ECMAScript 6}}}.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9013}{}\doxyparagraph{sign(x) \+\_\+(es5-\/ext/math/sign)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9013}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-math.sign}{\texttt{ {\itshape Introduced with ECMAScript 6}}}.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9014}{}\doxyparagraph{sinh(x) \+\_\+(es5-\/ext/math/sinh)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9014}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-math.sinh}{\texttt{ {\itshape Introduced with ECMAScript 6}}}.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9015}{}\doxyparagraph{tanh(x) \+\_\+(es5-\/ext/math/tanh)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9015}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-math.tanh}{\texttt{ {\itshape Introduced with ECMAScript 6}}}.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9016}{}\doxyparagraph{trunc(x) \+\_\+(es5-\/ext/math/trunc)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9016}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-math.trunc}{\texttt{ {\itshape Introduced with ECMAScript 6}}}.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9017}{}\doxysubsubsection{Number Constructor extensions}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9017}
\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9018}{}\doxyparagraph{EPSILON \+\_\+(es5-\/ext/number/epsilon)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9018}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-number.epsilon}{\texttt{ {\itshape Introduced with ECMAScript 6}}}.

The difference between 1 and the smallest value greater than 1 that is representable as a Number value, which is approximately 2.\+2204460492503130808472633361816 x 10-\/16.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9019}{}\doxyparagraph{is\+Finite(x) \+\_\+(es5-\/ext/number/is-\/finite)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9019}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-number.isfinite}{\texttt{ {\itshape Introduced with ECMAScript 6}}}. Whether value is finite. Differs from global is\+NaN that it doesn\textquotesingle{}t do type coercion.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9020}{}\doxyparagraph{is\+Integer(x) \+\_\+(es5-\/ext/number/is-\/integer)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9020}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-number.isinteger}{\texttt{ {\itshape Introduced with ECMAScript 6}}}. Whether value is integer.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9021}{}\doxyparagraph{is\+Na\+N(x) \+\_\+(es5-\/ext/number/is-\/nan)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9021}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-number.isnan}{\texttt{ {\itshape Introduced with ECMAScript 6}}}. Whether value is NaN. Differs from global is\+NaN that it doesn\textquotesingle{}t do type coercion.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9022}{}\doxyparagraph{is\+Number(x) \+\_\+(es5-\/ext/number/is-\/number)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9022}
Whether given value is number\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9023}{}\doxyparagraph{is\+Safe\+Integer(x) \+\_\+(es5-\/ext/number/is-\/safe-\/integer)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9023}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-number.issafeinteger}{\texttt{ {\itshape Introduced with ECMAScript 6}}}.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9024}{}\doxyparagraph{MAX$\ast$\+SAFE\+\_\+\+INTEGER $\ast$(es5-\/ext/number/max-\/safe-\/integer)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9024}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-number.maxsafeinteger}{\texttt{ {\itshape Introduced with ECMAScript 6}}}. The value of Number.\+MAX\+\_\+\+SAFE\+\_\+\+INTEGER is 9007199254740991.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9025}{}\doxyparagraph{MIN$\ast$\+SAFE\+\_\+\+INTEGER $\ast$(es5-\/ext/number/min-\/safe-\/integer)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9025}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-number.minsafeinteger}{\texttt{ {\itshape Introduced with ECMAScript 6}}}. The value of Number.\+MIN\+\_\+\+SAFE\+\_\+\+INTEGER is -\/9007199254740991 (253-\/1).\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9026}{}\doxyparagraph{to\+Integer(x) \+\_\+(es5-\/ext/number/to-\/integer)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9026}
Converts value to integer\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9027}{}\doxyparagraph{to\+Pos\+Integer(x) \+\_\+(es5-\/ext/number/to-\/pos-\/integer)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9027}
Converts value to positive integer. If provided value is less than 0, then 0 is returned\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9028}{}\doxyparagraph{to\+Uint32(x) \+\_\+(es5-\/ext/number/to-\/uint32)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9028}
Converts value to unsigned 32 bit integer. This type is used for array lengths. See\+: \href{http://www.2ality.com/2012/02/js-integers.html}{\texttt{ http\+://www.\+2ality.\+com/2012/02/js-\/integers.\+html}}\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9029}{}\doxysubsubsection{Number Prototype extensions}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9029}
\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9030}{}\doxyparagraph{num.\+pad(length\mbox{[}, precision\mbox{]}) \+\_\+(es5-\/ext/number/\#/pad)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9030}
Pad given number with zeros. Returns string\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9031}{}\doxysubsubsection{Object Constructor extensions}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9031}
\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9032}{}\doxyparagraph{assign(target, source\mbox{[}, …sourcen\mbox{]}) \+\_\+(es5-\/ext/object/assign)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9032}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-object.assign}{\texttt{ {\itshape Introduced with ECMAScript 6}}}. Extend {\itshape target} by enumerable own properties of other objects. If properties are already set on target object, they will be overwritten.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9033}{}\doxyparagraph{clear(obj) \+\_\+(es5-\/ext/object/clear)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9033}
Remove all enumerable own properties of the object\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9034}{}\doxyparagraph{compact(obj) \+\_\+(es5-\/ext/object/compact)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9034}
Returns copy of the object with all enumerable properties that have no falsy values\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9035}{}\doxyparagraph{compare(obj1, obj2) \+\_\+(es5-\/ext/object/compare)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9035}
Universal cross-\/type compare function. To be used for e.\+g. array sort.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9036}{}\doxyparagraph{copy(obj) \+\_\+(es5-\/ext/object/copy)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9036}
Returns copy of the object with all enumerable properties.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9037}{}\doxyparagraph{copy\+Deep(obj) \+\_\+(es5-\/ext/object/copy-\/deep)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9037}
Returns deep copy of the object with all enumerable properties.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9038}{}\doxyparagraph{count(obj) \+\_\+(es5-\/ext/object/count)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9038}
Counts number of enumerable own properties on object\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9039}{}\doxyparagraph{create(obj\mbox{[}, properties\mbox{]}) \+\_\+(es5-\/ext/object/create)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9039}
{\ttfamily Object.\+create} alternative that provides workaround for \href{http://code.google.com/p/v8/issues/detail?id=2804}{\texttt{ V8 issue}}.

When {\ttfamily null} is provided as a prototype, it\textquotesingle{}s substituted with specially prepared object that derives from Object.\+prototype but has all Object.\+prototype properties shadowed with undefined.

It\textquotesingle{}s quirky solution that allows us to have plain objects with no truthy properties but with turnable prototype.

Use only for objects that you plan to switch prototypes of and be aware of limitations of this workaround.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9040}{}\doxyparagraph{eq(x, y) \+\_\+(es5-\/ext/object/eq)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9040}
Whether two values are equal, using \href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-samevaluezero}{\texttt{ {\itshape Same\+Value\+Zero}}} algorithm.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9041}{}\doxyparagraph{every(obj, cb\mbox{[}, this\+Arg\mbox{[}, compare\+Fn\mbox{]}\mbox{]}) \+\_\+(es5-\/ext/object/every)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9041}
Analogous to Array.\+prototype.\+every. Returns true if every key-\/value pair in this object satisfies the provided testing function. Optionally {\itshape compare\+Fn} can be provided which assures that keys are tested in given order. If provided {\itshape compare\+Fn} is equal to {\ttfamily true}, then order is alphabetical (by key).\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9042}{}\doxyparagraph{filter(obj, cb\mbox{[}, this\+Arg\mbox{]}) \+\_\+(es5-\/ext/object/filter)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9042}
Analogous to Array.\+prototype.\+filter. Returns new object with properites for which {\itshape cb} function returned truthy value.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9043}{}\doxyparagraph{first\+Key(obj) \+\_\+(es5-\/ext/object/first-\/key)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9043}
Returns first enumerable key of the object, as keys are unordered by specification, it can be any key of an object.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9044}{}\doxyparagraph{flatten(obj) \+\_\+(es5-\/ext/object/flatten)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9044}
Returns new object, with flatten properties of input object

{\itshape flatten(\{ a\+: \{ b\+: 1 \}, c\+: \{ d\+: 1 \} \}) =def \{ b\+: 1, d\+: 1 \}}\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9045}{}\doxyparagraph{for\+Each(obj, cb\mbox{[}, this\+Arg\mbox{[}, compare\+Fn\mbox{]}\mbox{]}) \+\_\+(es5-\/ext/object/for-\/each)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9045}
Analogous to Array.\+prototype.\+for\+Each. Calls a function for each key-\/value pair found in object Optionally {\itshape compare\+Fn} can be provided which assures that properties are iterated in given order. If provided {\itshape compare\+Fn} is equal to {\ttfamily true}, then order is alphabetical (by key).\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9046}{}\doxyparagraph{get\+Property\+Names() \+\_\+(es5-\/ext/object/get-\/property-\/names)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9046}
Get all (not just own) property names of the object\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9047}{}\doxyparagraph{is(x, y) \+\_\+(es5-\/ext/object/is)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9047}
Whether two values are equal, using \href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-samevaluezero}{\texttt{ {\itshape Same\+Value}}} algorithm.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9048}{}\doxyparagraph{is\+Array\+Like(x) \+\_\+(es5-\/ext/object/is-\/array-\/like)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9048}
Whether object is array-\/like object\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9049}{}\doxyparagraph{is\+Copy(x, y) \+\_\+(es5-\/ext/object/is-\/copy)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9049}
Two values are considered a copy of same value when all of their own enumerable properties have same values.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9050}{}\doxyparagraph{is\+Copy\+Deep(x, y) \+\_\+(es5-\/ext/object/is-\/copy-\/deep)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9050}
Deep comparision of objects\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9051}{}\doxyparagraph{is\+Empty(obj) \+\_\+(es5-\/ext/object/is-\/empty)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9051}
True if object doesn\textquotesingle{}t have any own enumerable property\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9052}{}\doxyparagraph{is\+Object(arg) \+\_\+(es5-\/ext/object/is-\/object)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9052}
Whether value is not primitive\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9053}{}\doxyparagraph{is\+Plain\+Object(arg) \+\_\+(es5-\/ext/object/is-\/plain-\/object)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9053}
Whether object is plain object, its protototype should be Object.\+prototype and it cannot be host object.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9054}{}\doxyparagraph{key\+Of(obj, search\+Value) \+\_\+(es5-\/ext/object/key-\/of)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9054}
Search object for value\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9055}{}\doxyparagraph{keys(obj) \+\_\+(es5-\/ext/object/keys)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9055}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-object.keys}{\texttt{ {\itshape Updated with ECMAScript 6}}}. ES6\textquotesingle{}s version of {\ttfamily keys}, doesn\textquotesingle{}t throw on primitive input\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9056}{}\doxyparagraph{map(obj, cb\mbox{[}, this\+Arg\mbox{]}) \+\_\+(es5-\/ext/object/map)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9056}
Analogous to Array.\+prototype.\+map. Creates a new object with properties which values are results of calling a provided function on every key-\/value pair in this object.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9057}{}\doxyparagraph{map\+Keys(obj, cb\mbox{[}, this\+Arg\mbox{]}) \+\_\+(es5-\/ext/object/map-\/keys)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9057}
Create new object with same values, but remapped keys\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9058}{}\doxyparagraph{mixin(target, source) \+\_\+(es5-\/ext/object/mixin)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9058}
Extend {\itshape target} by all own properties of other objects. Properties found in both objects will be overwritten (unless they\textquotesingle{}re not configurable and cannot be overwritten). {\itshape It was for a moment part of ECMAScript 6 draft.}\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9059}{}\doxyparagraph{mixin\+Prototypes(target, …source\mbox{]}) \+\_\+(es5-\/ext/object/mixin-\/prototypes)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9059}
Extends {\itshape target}, with all source and source\textquotesingle{}s prototype properties. Useful as an alternative for {\ttfamily set\+Prototype\+Of} in environments in which it cannot be shimmed (no {\ttfamily \+\_\+\+\_\+proto\+\_\+\+\_\+} support).\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9060}{}\doxyparagraph{normalize\+Options(options) \+\_\+(es5-\/ext/object/normalize-\/options)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9060}
Normalizes options object into flat plain object.

Useful for functions in which we either need to keep options object for future reference or need to modify it for internal use.


\begin{DoxyItemize}
\item It never returns input {\ttfamily options} object back (always a copy is created)
\item {\ttfamily options} can be undefined in such case empty plain object is returned.
\item Copies all enumerable properties found down prototype chain.
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9061}{}\doxyparagraph{primitive\+Set(\mbox{[}…names\mbox{]}) \+\_\+(es5-\/ext/object/primitive-\/set)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9061}
Creates {\ttfamily null} prototype based plain object, and sets on it all property names provided in arguments to true.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9062}{}\doxyparagraph{safe\+Traverse(obj\mbox{[}, …names\mbox{]}) \+\_\+(es5-\/ext/object/safe-\/traverse)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9062}
Safe navigation of object properties. See \href{http://wiki.ecmascript.org/doku.php?id=strawman:existential_operator}{\texttt{ http\+://wiki.\+ecmascript.\+org/doku.\+php?id=strawman\+:existential\+\_\+operator}}\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9063}{}\doxyparagraph{serialize(value) \+\_\+(es5-\/ext/object/serialize)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9063}
Serialize value into string. Differs from \href{https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify}{\texttt{ JSON.\+stringify}} that it serializes also dates, functions and regular expresssions.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9064}{}\doxyparagraph{set\+Prototype\+Of(object, proto) \+\_\+(es5-\/ext/object/set-\/prototype-\/of)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9064}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-object.setprototypeof}{\texttt{ {\itshape Introduced with ECMAScript 6}}}. If native version is not provided, it depends on existence of {\ttfamily \+\_\+\+\_\+proto\+\_\+\+\_\+} functionality, if it\textquotesingle{}s missing, {\ttfamily null} instead of function is exposed.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9065}{}\doxyparagraph{some(obj, cb\mbox{[}, this\+Arg\mbox{[}, compare\+Fn\mbox{]}\mbox{]}) \+\_\+(es5-\/ext/object/some)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9065}
Analogous to Array.\+prototype.\+some Returns true if any key-\/value pair satisfies the provided testing function. Optionally {\itshape compare\+Fn} can be provided which assures that keys are tested in given order. If provided {\itshape compare\+Fn} is equal to {\ttfamily true}, then order is alphabetical (by key).\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9066}{}\doxyparagraph{to\+Array(obj\mbox{[}, cb\mbox{[}, this\+Arg\mbox{[}, compare\+Fn\mbox{]}\mbox{]}\mbox{]}) \+\_\+(es5-\/ext/object/to-\/array)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9066}
Creates an array of results of calling a provided function on every key-\/value pair in this object. Optionally {\itshape compare\+Fn} can be provided which assures that results are added in given order. If provided {\itshape compare\+Fn} is equal to {\ttfamily true}, then order is alphabetical (by key).\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9067}{}\doxyparagraph{unserialize(str) \+\_\+(es5-\/ext/object/unserialize)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9067}
Userializes value previously serialized with \href{\#serializevalue-es5-extobjectserialize}{\texttt{ serialize}}\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9068}{}\doxyparagraph{valid\+Callable(x) \+\_\+(es5-\/ext/object/valid-\/callable)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9068}
If given object is not callable throw Type\+Error in other case return it.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9069}{}\doxyparagraph{valid\+Object(x) \+\_\+(es5-\/ext/object/valid-\/object)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9069}
Throws error if given value is not an object, otherwise it is returned.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9070}{}\doxyparagraph{valid\+Value(x) \+\_\+(es5-\/ext/object/valid-\/value)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9070}
Throws error if given value is {\ttfamily null} or {\ttfamily undefined}, otherwise returns value.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9071}{}\doxysubsubsection{Promise Prototype extensions}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9071}
\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9072}{}\doxyparagraph{promise.\+finally(on\+Finally) \+\_\+(es5-\/ext/promise/\#/finally)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9072}
\href{https://tc39.github.io/ecma262/\#sec-promise.prototype.finally}{\texttt{ {\itshape Introduced with ECMAScript 2018}}}.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9073}{}\doxysubsubsection{Reg\+Exp Constructor extensions}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9073}
\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9074}{}\doxyparagraph{escape(str) \+\_\+(es5-\/ext/reg-\/exp/escape)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9074}
Escapes string to be used in regular expression\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9075}{}\doxyparagraph{is\+Reg\+Exp(x) \+\_\+(es5-\/ext/reg-\/exp/is-\/reg-\/exp)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9075}
Whether object is regular expression\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9076}{}\doxyparagraph{valid\+Reg\+Exp(x) \+\_\+(es5-\/ext/reg-\/exp/valid-\/reg-\/exp)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9076}
If object is regular expression it is returned, otherwise Type\+Error is thrown.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9077}{}\doxysubsubsection{Reg\+Exp Prototype extensions}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9077}
\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9078}{}\doxyparagraph{re.\+is\+Sticky(x) \+\_\+(es5-\/ext/reg-\/exp/\#/is-\/sticky)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9078}
Whether regular expression has {\ttfamily sticky} flag.

It\textquotesingle{}s to be used as counterpart to \href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-get-regexp.prototype.sticky}{\texttt{ reg\+Exp.\+sticky}} if it\textquotesingle{}s not implemented.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9079}{}\doxyparagraph{re.\+is\+Unicode(x) \+\_\+(es5-\/ext/reg-\/exp/\#/is-\/unicode)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9079}
Whether regular expression has {\ttfamily unicode} flag.

It\textquotesingle{}s to be used as counterpart to \href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-get-regexp.prototype.unicode}{\texttt{ reg\+Exp.\+unicode}} if it\textquotesingle{}s not implemented.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9080}{}\doxyparagraph{re.\+match(string) \+\_\+(es5-\/ext/reg-\/exp/\#/match)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9080}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-regexp.prototype.match}{\texttt{ {\itshape Introduced with ECMAScript 6}}}.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9081}{}\doxyparagraph{re.\+replace(string, replace\+Value) \+\_\+(es5-\/ext/reg-\/exp/\#/replace)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9081}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-regexp.prototype.replace}{\texttt{ {\itshape Introduced with ECMAScript 6}}}.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9082}{}\doxyparagraph{re.\+search(string) \+\_\+(es5-\/ext/reg-\/exp/\#/search)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9082}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-regexp.prototype.search}{\texttt{ {\itshape Introduced with ECMAScript 6}}}.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9083}{}\doxyparagraph{re.\+split(string) \+\_\+(es5-\/ext/reg-\/exp/\#/search)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9083}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-regexp.prototype.split}{\texttt{ {\itshape Introduced with ECMAScript 6}}}.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9084}{}\doxyparagraph{re.\+sticky \+\_\+(es5-\/ext/reg-\/exp/\#/sticky/implement)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9084}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-regexp.prototype.sticky}{\texttt{ {\itshape Introduced with ECMAScript 6}}}. It\textquotesingle{}s a getter, so only {\ttfamily implement} and {\ttfamily is-\/implemented} modules are provided.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9085}{}\doxyparagraph{re.\+unicode \+\_\+(es5-\/ext/reg-\/exp/\#/unicode/implement)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9085}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-regexp.prototype.unicode}{\texttt{ {\itshape Introduced with ECMAScript 6}}}. It\textquotesingle{}s a getter, so only {\ttfamily implement} and {\ttfamily is-\/implemented} modules are provided.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9086}{}\doxysubsubsection{String Constructor extensions}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9086}
\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9087}{}\doxyparagraph{format\+Method(f\+Map) \+\_\+(es5-\/ext/string/format-\/method)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9087}
Creates format method. It\textquotesingle{}s used e.\+g. to create {\ttfamily Date.\+prototype.\+format} method\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9088}{}\doxyparagraph{from\+Code\+Point(\mbox{[}…code\+Points\mbox{]}) \+\_\+(es5-\/ext/string/from-\/code-\/point)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9088}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-string.fromcodepoint}{\texttt{ {\itshape Introduced with ECMAScript 6}}}\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9089}{}\doxyparagraph{is\+String(x) \+\_\+(es5-\/ext/string/is-\/string)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9089}
Whether object is string\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9090}{}\doxyparagraph{random\+Uniq() \+\_\+(es5-\/ext/string/random-\/uniq)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9090}
Returns randomly generated id, with guarantee of local uniqueness (no same id will be returned twice)\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9091}{}\doxyparagraph{raw(call\+Site\mbox{[}, …substitutions\mbox{]}) \+\_\+(es5-\/ext/string/raw)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9091}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-string.raw}{\texttt{ {\itshape Introduced with ECMAScript 6}}}\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9092}{}\doxysubsubsection{String Prototype extensions}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9092}
\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9093}{}\doxyparagraph{str.\+at(pos) \+\_\+(es5-\/ext/string/\#/at)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9093}
{\itshape Proposed for ECMAScript 6/7 standard, but not (yet) in a draft}

Returns a string at given position in Unicode-\/safe manner. Based on \href{https://github.com/mathiasbynens/String.prototype.at}{\texttt{ implementation by Mathias Bynens}}.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9094}{}\doxyparagraph{str.\+camel\+To\+Hyphen() \+\_\+(es5-\/ext/string/\#/camel-\/to-\/hyphen)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9094}
Convert camel\+Case string to hyphen separated, e.\+g. one-\/two-\/three -\/$>$ one\+Two\+Three. Useful when converting names from js property convention into filename convention.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9095}{}\doxyparagraph{str.\+capitalize() \+\_\+(es5-\/ext/string/\#/capitalize)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9095}
Capitalize first character of a string\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9096}{}\doxyparagraph{str.\+case\+Insensitive\+Compare(str) \+\_\+(es5-\/ext/string/\#/case-\/insensitive-\/compare)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9096}
Case insensitive compare\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9097}{}\doxyparagraph{str.\+code\+Point\+At(pos) \+\_\+(es5-\/ext/string/\#/code-\/point-\/at)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9097}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-string.prototype.codepointat}{\texttt{ {\itshape Introduced with ECMAScript 6}}}

Based on \href{https://github.com/mathiasbynens/String.prototype.codePointAt}{\texttt{ implementation by Mathias Bynens}}.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9098}{}\doxyparagraph{str.\+contains(search\+String\mbox{[}, position\mbox{]}) \+\_\+(es5-\/ext/string/\#/contains)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9098}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-string.prototype.contains}{\texttt{ {\itshape Introduced with ECMAScript 6}}}

Whether string contains given string.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9099}{}\doxyparagraph{str.\+ends\+With(search\+String\mbox{[}, end\+Position\mbox{]}) \+\_\+(es5-\/ext/string/\#/ends-\/with)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9099}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-string.prototype.endswith}{\texttt{ {\itshape Introduced with ECMAScript 6}}}. Whether strings ends with given string\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9100}{}\doxyparagraph{str.\+hyphen\+To\+Camel() \+\_\+(es5-\/ext/string/\#/hyphen-\/to-\/camel)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9100}
Convert hyphen separated string to camel\+Case, e.\+g. one-\/two-\/three -\/$>$ one\+Two\+Three. Useful when converting names from filename convention to js property name convention.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9101}{}\doxyparagraph{str.\+indent(str\mbox{[}, count\mbox{]}) \+\_\+(es5-\/ext/string/\#/indent)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9101}
Indents each line with provided {\itshape str} (if {\itshape count} given then {\itshape str} is repeated {\itshape count} times).\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9102}{}\doxyparagraph{str.\+last() \+\_\+(es5-\/ext/string/\#/last)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9102}
Return last character\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9103}{}\doxyparagraph{str.\+normalize(\mbox{[}form\mbox{]}) \+\_\+(es5-\/ext/string/\#/normalize)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9103}
\href{https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/normalize}{\texttt{ {\itshape Introduced with ECMAScript 6}}}. Returns the Unicode Normalization Form of a given string. Based on Matsuza\textquotesingle{}s version. Code used for integrated shim can be found at \href{https://github.com/walling/unorm/blob/master/lib/unorm.js}{\texttt{ github.\+com/walling/unorm}}\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9104}{}\doxyparagraph{str.\+pad(fill\mbox{[}, length\mbox{]}) \+\_\+(es5-\/ext/string/\#/pad)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9104}
Pad string with {\itshape fill}. If {\itshape length} si given than {\itshape fill} is reapated {\itshape length} times. If {\itshape length} is negative then pad is applied from right.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9105}{}\doxyparagraph{str.\+repeat(n) \+\_\+(es5-\/ext/string/\#/repeat)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9105}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-string.prototype.repeat}{\texttt{ {\itshape Introduced with ECMAScript 6}}}. Repeat given string {\itshape n} times\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9106}{}\doxyparagraph{str.\+plain\+Replace(search, replace) \+\_\+(es5-\/ext/string/\#/plain-\/replace)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9106}
Simple {\ttfamily replace} version. Doesn\textquotesingle{}t support regular expressions. Replaces just first occurrence of search string. Doesn\textquotesingle{}t support insert patterns, therefore it is safe to replace text with text obtained programmatically (there\textquotesingle{}s no need for additional \+\_\+\$\+\_\+ characters escape in such case).\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9107}{}\doxyparagraph{str.\+plain\+Replace\+All(search, replace) \+\_\+(es5-\/ext/string/\#/plain-\/replace-\/all)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9107}
Simple {\ttfamily replace} version. Doesn\textquotesingle{}t support regular expressions. Replaces all occurrences of search string. Doesn\textquotesingle{}t support insert patterns, therefore it is safe to replace text with text obtained programmatically (there\textquotesingle{}s no need for additional \+\_\+\$\+\_\+ characters escape in such case).\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9108}{}\doxyparagraph{str.\+starts\+With(search\+String\mbox{[}, position\mbox{]}) \+\_\+(es5-\/ext/string/\#/starts-\/with)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9108}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-string.prototype.startswith}{\texttt{ {\itshape Introduced with ECMAScript 6}}}. Whether strings starts with given string\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9109}{}\doxyparagraph{str\mbox{[}@iterator\mbox{]} \+\_\+(es5-\/ext/string/\#/@iterator)\+\_\+}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9109}
\href{http://people.mozilla.org/~jorendorff/es6-draft.html\#sec-string.prototype-@@iterator}{\texttt{ {\itshape Introduced with ECMAScript 6}}}. Returns iterator object which traverses all string characters (with respect to unicode symbols)\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9110}{}\doxysubsubsection{Tests}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9110}
\begin{DoxyVerb}$ npm test
\end{DoxyVerb}
 \hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9111}{}\doxysubsection{Security contact information}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9111}
To report a security vulnerability, please use the \href{https://tidelift.com/security}{\texttt{ Tidelift security contact}}. Tidelift will coordinate the fix and disclosure.\hypertarget{md_sfcode_node_modules_es5_ext_README_autotoc_md9112}{}\doxysubsection{es5-\/ext for enterprise}\label{md_sfcode_node_modules_es5_ext_README_autotoc_md9112}
Available as part of the Tidelift Subscription

The maintainers of es5-\/ext and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. \href{https://tidelift.com/subscription/pkg/npm-es5-ext?utm_source=npm-es5-ext&utm_medium=referral&utm_campaign=enterprise&utm_term=repo}{\texttt{ Learn more.}} 