Reflect.apply:符合ES规范的Reflect.apply shimpolyfillreplacement可以向下运行到ES3

时间:2024-05-20 14:44:05
【文件属性】:
文件名称:Reflect.apply:符合ES规范的Reflect.apply shimpolyfillreplacement可以向下运行到ES3
文件大小:16KB
文件格式:ZIP
更新时间:2024-05-20 14:44:05
javascript polyfill ecmascript reflect shim Reflect.apply 符合ESnext规范的Reflect.apply填充程序/ Reflect.apply / replacement可以使用到ES3。 该软件包实现了接口。 它可以在ES3支持的环境中工作并符合。 入门 npm install --save reflect.apply 用法/示例 console . log ( Reflect . apply ( Reflect . floor , undefined , [ 1.75 ] ) ) ; // 1 console . log ( Reflect . apply ( '' . charAt , 'ponies' , [ 3 ] ) ) ; // 'i' 测验 只需克隆仓库, npm install ,然后运行npm test
【文件预览】:
Reflect.apply-main
----.gitignore(2KB)
----implementation.mjs(143B)
----.eslintrc(575B)
----package.json(3KB)
----.nycrc(139B)
----.npmrc(55B)
----auto.js(36B)
----LICENSE(1KB)
----index.js(386B)
----CHANGELOG.md(986B)
----.github()
--------FUNDING.yml(600B)
--------workflows()
----index.mjs(275B)
----README.md(2KB)
----polyfill.mjs(119B)
----implementation.js(186B)
----.eslintignore(10B)
----shim.js(351B)
----shim.mjs(103B)
----.npmignore(2KB)
----polyfill.js(224B)
----test()
--------index.js(180B)
--------shimmed.js(999B)
--------index.mjs(770B)
--------implementation.js(514B)
--------tests.js(1KB)

网友评论