Array.prototype.keys:符合ES2015规范的“ Array.prototype.keys” shimpolyfillreplacement可以向下使用到ES3

时间:2021-05-01 08:00:01
【文件属性】:
文件名称:Array.prototype.keys:符合ES2015规范的“ Array.prototype.keys” shimpolyfillreplacement可以向下使用到ES3
文件大小:16KB
文件格式:ZIP
更新时间:2021-05-01 08:00:01
javascript polyfill array ecmascript shim array.prototype.keys 符合ES2015规范的Array.prototype.keys shim / polyfill / replacement可以使用到ES3。 该软件包实现了接口。 它可以在ES3支持的环境中工作并符合。 因为Array.prototype.keys依赖于接收方(“ this”值),所以Array.prototype.keys出将数组作为第一个参数进行操作。 例子 var keys = require ( 'array.prototype.keys' ) ; var assert = require ( 'assert' ) ; var iterate = require ( 'iterate-iterator' ) ; assert . deepEqual ( iterate ( keys ( [ 1 , 2 , 3 ] ) ) , [ 0
【文件预览】:
Array.prototype.keys-main
----polyfill.js(418B)
----.eslintrc(227B)
----implementation.js(234B)
----index.js(558B)
----package.json(2KB)
----.github()
--------workflows()
----test()
--------shimmed.js(1KB)
--------implementation.js(597B)
--------index.js(416B)
--------tests.js(520B)
--------index.mjs(1KB)
----.nycrc(139B)
----LICENSE(1KB)
----.npmignore(2KB)
----index.mjs(523B)
----shim.js(320B)
----.gitignore(2KB)
----CHANGELOG.md(4KB)
----.npmrc(55B)
----README.md(3KB)
----auto.js(36B)

网友评论