String.prototype.repeat:用于ECMAScript 6中String.prototype.repeat方法的功能强大且经过优化的ES3兼容polyfill

时间:2021-05-27 19:06:46
【文件属性】:
文件名称:String.prototype.repeat:用于ECMAScript 6中String.prototype.repeat方法的功能强大且经过优化的ES3兼容polyfill
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-27 19:06:46
JavaScript ES6 String.prototype.repeat polyfill 用于健壮且优化 。 该软件包实现了接口。 它可以在ES3支持的环境中工作并符合。 还可以使用String.prototype.repeat其他polyfills: ( 现在通过所有测试) 安装 通过 : npm install string.prototype.repeat 然后,在: var repeat = require ( 'string.prototype.repeat' ) ; 在浏览器中: < script src =" https://bundle.run/string.prototype.repeat " > </ script > 注意:建议您使用软件包管理器(例如npm安装此模块,因为从CDN加载多个bundle.run (例如bundle.run )将导致代码重复。
【文件预览】:
String.prototype.repeat-master
----.gitignore(249B)
----README.md(2KB)
----LICENSE-MIT.txt(1KB)
----polyfill.js(212B)
----tests()
--------tests.js(1KB)
--------index.js(183B)
--------shimmed.js(911B)
----auto.js(71B)
----.gitattributes(76B)
----implementation.js(723B)
----package.json(1KB)
----index.js(460B)
----shim.js(344B)
----.travis.yml(125B)
----.editorconfig(81B)
----.npmrc(19B)

网友评论