Object.getPrototypeOf:符合ES5规范的Object.getPrototypeOf` shampolyfillreplacement,可在尽可能多的引擎中使用

时间:2021-05-12 12:57:51
【文件属性】:
文件名称:Object.getPrototypeOf:符合ES5规范的Object.getPrototypeOf` shampolyfillreplacement,可在尽可能多的引擎中使用
文件大小:17KB
文件格式:ZIP
更新时间:2021-05-12 12:57:51
javascript polyfill ecmascript shim ecmascript5 object.getprototypeof ES5符合大多数规范的Object.getPrototypeOf sham / polyfill / Object.getPrototypeOf ,可在尽可能多的引擎中使用-特别是支持__proto__或ES6的任何引擎。 内置类型也可以在较旧的引擎中正常工作。 该软件包实现了接口。 它可以在ES3支持的环境中工作并符合。 例子 var getPrototypeOf = require ( 'object.getprototypeof' ) ; var assert = require ( 'assert' ) ; assert . equal ( getPrototypeOf ( true ) , Boolean . prototype ) ; assert . equal ( getPrototypeOf ( 42 ) , Number
【文件预览】:
Object.getPrototypeOf-main
----polyfill.js(812B)
----shim.mjs(103B)
----.eslintrc(346B)
----implementation.mjs(143B)
----implementation.js(226B)
----index.js(457B)
----package.json(3KB)
----polyfill.mjs(119B)
----.github()
--------workflows()
----test()
--------shimmed.js(854B)
--------implementation.js(212B)
--------index.js(198B)
--------tests.js(1KB)
--------index.mjs(841B)
----.nycrc(139B)
----LICENSE(1KB)
----.npmignore(2KB)
----index.mjs(360B)
----shim.js(337B)
----auto.mjs(39B)
----.gitignore(2KB)
----CHANGELOG.md(5KB)
----.npmrc(55B)
----README.md(3KB)
----auto.js(36B)
----.eslintignore(10B)

网友评论