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

时间:2021-04-12 22:36:06
【文件属性】:
文件名称:Array.prototype.values:符合ES2015规范的“ Array.prototype.values” shimpolyfillreplacement可以使用到ES3
文件大小:18KB
文件格式:ZIP
更新时间:2021-04-12 22:36:06
javascript polyfill array ecmascript shim array.prototype.values 符合ES2015规范的Array.prototype.values匀场/填充/替换值可一直使用到ES3。 该软件包实现了接口。 它可以在ES3支持的环境中工作并符合。 因为Array.prototype.values取决于接收方(“ this”值),所以Array.prototype.values出将数组作为第一个参数进行操作。 例子 var values = require ( 'array.prototype.values' ) ; var assert = require ( 'assert' ) ; var iterate = require ( 'iterate-iterator' ) ; assert . deepStrictEqual ( iterate ( values ( [ 1 , 2 , 3 ] ) ) , [ 1
【文件预览】:
Array.prototype.values-main
----.gitignore(2KB)
----implementation.mjs(143B)
----.eslintrc(333B)
----package.json(3KB)
----.nycrc(139B)
----.npmrc(55B)
----auto.js(36B)
----LICENSE(1KB)
----index.js(560B)
----CHANGELOG.md(4KB)
----.github()
--------workflows()
----index.mjs(533B)
----README.md(3KB)
----polyfill.mjs(119B)
----implementation.js(238B)
----shim.js(328B)
----shim.mjs(103B)
----.npmignore(2KB)
----polyfill.js(1KB)
----test()
--------index.js(424B)
--------shimmed.js(1KB)
--------index.mjs(1KB)
--------implementation.js(605B)
--------tests.js(538B)

网友评论