String.prototype.replaceAll:适用于String.prototype.replaceAll ESnext提案的符合规范的polyfill

时间:2021-04-30 16:09:20
【文件属性】:
文件名称:String.prototype.replaceAll:适用于String.prototype.replaceAll ESnext提案的符合规范的polyfill
文件大小:16KB
文件格式:ZIP
更新时间:2021-04-30 16:09:20
JavaScript string.prototype.replaceall 用于String.prototype.replaceAll的ES Proposal规范填充程序。 如果不可用或不String.prototype.replaceAll调用其“ shim”方法对String.prototype.replaceAll进行填充。 该软件包实现了接口。 它在ES3支持的环境中工作,并符合。 最常见的用法: const assert = require ( 'assert' ) ; const replaceAll = require ( 'string.prototype.replaceall' ) ; const str = 'aabc' ; // replaceAll and replace are the same, when given a global regex to replace as
【文件预览】:
String.prototype.replaceAll-main
----.gitignore(997B)
----.eslintrc(363B)
----package.json(2KB)
----.nycrc(139B)
----.npmrc(55B)
----auto.js(36B)
----LICENSE(1KB)
----index.js(404B)
----CHANGELOG.md(8KB)
----.github()
--------workflows()
----README.md(2KB)
----implementation.js(4KB)
----.eslintignore(10B)
----shim.js(341B)
----.npmignore(1016B)
----polyfill.js(166B)
----test()
--------index.js(199B)
--------shimmed.js(956B)
--------tests.js(931B)

网友评论