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

时间:2021-05-01 07:56:56
【文件属性】:
文件名称:Array.prototype.lastIndexOf:符合ES2015规范的“ Array.prototype.lastIndexOf” shimpolyfillreplacement,可向下使用到ES3
文件大小:15KB
文件格式:ZIP
更新时间:2021-05-01 07:56:56
javascript polyfill array ecmascript shim array.prototype.lastindexof 符合ES2015规范的shim / polyfill / replacement的Array.prototype.lastindexof ,可向下使用到ES3。 该软件包实现了接口。 它可以在ES3支持的环境中工作并符合。 因为Array.prototype.lastIndexOf取决于接收方(“ this”值),所以Array.prototype.lastIndexOf出将数组作为第一个参数进行操作。 例子 var lastIndexOf = require ( 'array.prototype.lastindexof' ) ; var assert = require ( 'assert' ) ; assert . equal ( lastIndexOf ( [ 1 , 2 , 3 ] , 2 ) , 1 ) ; asser
【文件预览】:
Array.prototype.lastIndexOf-main
----shim.js(344B)
----.eslintrc(315B)
----.github()
--------workflows()
----polyfill.js(798B)
----LICENSE(1KB)
----test()
--------shimmed.js(1KB)
--------implementation.js(637B)
--------tests.js(851B)
--------index.js(490B)
----README.md(3KB)
----auto.js(36B)
----.npmrc(55B)
----implementation.js(1KB)
----.gitignore(2KB)
----index.js(716B)
----CHANGELOG.md(5KB)
----.eslintignore(10B)
----package.json(2KB)
----.nycrc(139B)

网友评论