javascript-polyfills
v0.0.2
Published
js-polyfills replaceAll
Downloads
10
Readme
javascript-polyfills
Installing
$ npm install javascript-polyfills
Usage
require('javascript-polyfills') // globally available
let str = 'foobar'
str.replaceAll('bar', 'baz') // 'foobaz'
let str1 = 'aa^$^cc'
str1.replaceAll('^$^', 'bb') // 'aabbcc'