ie-string-startswith-polyfill
v1.0.1
Published
Polyfill to provide string.startsWith on IE
Downloads
121
Readme
ie-string-startswith-polyfill
Polyfill to provide string.startsWith on IE
Installation
To install the stable version:
npm i ie-string-startswith-polyfill
Use
import "ie-string-startswith-polyfill";
Example
'use strict';
require('ie-string-startswith-polyfilll');
const person = 'Anakin Skywalker';
const exists = person.startsWith('Ana');
console.log('EXISTS: ', exists); // True