Polyfills for String.prototype.padStart and String.prototype.padEnd
npm install es7-string-polyfillsBased on the reference implementation by tc39 found here.
javascript
npm install es7-string-polyfills --save-dev
`$3
Load it in your code with an import statement:
`javascript
import "es7-string-polyfills";
`
Or from a script tag:
`html
``The polyfills will be applied automatically if necessary.