Reflect.getPrototypeOf:符合ES2015的大多数规范的“ Reflect.getPrototypeOf” shampolyfillreplacement,可在尽可能多的引擎中使用

时间:2024-05-20 14:46:37
【文件属性】:

文件名称:Reflect.getPrototypeOf:符合ES2015的大多数规范的“ Reflect.getPrototypeOf” shampolyfillreplacement,可在尽可能多的引擎中使用

文件大小:17KB

文件格式:ZIP

更新时间:2024-05-20 14:46:37

javascript polyfill ecmascript reflect shim

Reflection.getprototypeof ES2015最符合规范的Reflect.getPrototypeOf sham / Reflect.getPrototypeOf / Reflect.getPrototypeOf ,可在尽可能多的引擎中使用-特别是具有__proto__支持或ES6的任何引擎。 内置类型也可以在较旧的引擎中正常工作。 该软件包实现了接口。 它可以在ES3支持的环境中工作并符合。 例子 var getPrototypeOf = require ( 'reflect.getprototypeof' ) ; var assert = require ( 'assert' ) ; assert . throws ( ( ) => getPrototypeOf ( true ) ) ; assert . throws ( ( ) => getPrototypeO


【文件预览】:
Reflect.getPrototypeOf-main
----.gitignore(2KB)
----README.md(3KB)
----auto.mjs(39B)
----implementation.mjs(143B)
----CHANGELOG.md(1KB)
----.github()
--------workflows()
----test()
--------implementation.js(212B)
--------index.mjs(846B)
--------tests.js(1KB)
--------index.js(198B)
--------shimmed.js(861B)
----polyfill.js(719B)
----LICENSE(1KB)
----auto.js(36B)
----.eslintrc(337B)
----polyfill.mjs(128B)
----implementation.js(1KB)
----package.json(3KB)
----index.mjs(404B)
----shim.mjs(103B)
----index.js(421B)
----shim.js(462B)
----.eslintignore(10B)
----.npmignore(2KB)
----.npmrc(55B)
----.nycrc(139B)

网友评论