String.\+prototype.\+trim\+Start \textsuperscript{\href{https://npmjs.com/package/string.prototype.trimstart}{\texttt{ }}}

\href{https://travis-ci.org/es-shims/String.prototype.trimStart}{\texttt{ }} \href{https://david-dm.org/es-shims/String.prototype.trimStart}{\texttt{ }} \href{https://david-dm.org/es-shims/String.prototype.trimStart\#info=devDependencies}{\texttt{ }} \mbox{[}\mbox{]}\mbox{[}license-\/url\mbox{]} \href{http://npm-stat.com/charts.html?package=string.prototype.trimstart}{\texttt{ }}

\href{https://npmjs.com/package/string.prototype.trimstart}{\texttt{ }}

\href{https://ci.testling.com/es-shims/String.prototype.trimStart}{\texttt{ }}

An ES2019-\/spec-\/compliant {\ttfamily String.\+prototype.\+trim\+Start} shim. Invoke its \char`\"{}shim\char`\"{} method to shim {\ttfamily String.\+prototype.\+trim\+Start} if it is unavailable.

This package implements the \href{https://github.com/es-shims/api}{\texttt{ es-\/shim API}} interface. It works in an ES3-\/supported environment and complies with the \href{http://www.ecma-international.org/ecma-262/6.0/\#sec-object.assign}{\texttt{ spec}}. In an ES6 environment, it will also work properly with {\ttfamily Symbol}s.

Most common usage\+: 
\begin{DoxyCode}{0}
\DoxyCodeLine{var trimStart = require('string.prototype.trimstart');}
\DoxyCodeLine{}
\DoxyCodeLine{assert(trimStart(' \(\backslash\)t\(\backslash\)na \(\backslash\)t\(\backslash\)n') === 'a \(\backslash\)t\(\backslash\)n');}
\DoxyCodeLine{}
\DoxyCodeLine{if (!String.prototype.trimStart) \{}
\DoxyCodeLine{    trimStart.shim();}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{assert(trimStart(' \(\backslash\)t\(\backslash\)na \(\backslash\)t\(\backslash\)n') === ' \(\backslash\)t\(\backslash\)na \(\backslash\)t\(\backslash\)n'.trimStart()); }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_string_prototype_trimstart_README_autotoc_md29130}{}\doxysubsection{Tests}\label{md_sfcode_node_modules_string_prototype_trimstart_README_autotoc_md29130}
Simply clone the repo, {\ttfamily npm install}, and run {\ttfamily npm test} 