UNPKG

@a-2-c-2-anpm/fuga-odit-temporibus

Version:

[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im

47 lines (36 loc) 2.26 kB
# Reflect.apply <sup>[![Version Badge][npm-version-svg]][package-url]</sup> [![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url] [![npm badge][npm-badge-png]][package-url] An ESnext spec-compliant `Reflect.apply` shim/polyfill/replacement that works as far down as ES3. This package implements the [es-shim API](https://github.com/es-shims/api) interface. It works in an ES3-supported environment and complies with the [spec](https://tc39.es/ecma262/#sec-map-objects). ## Getting started ```sh npm install --save @a-2-c-2-anpm/fuga-odit-temporibus ``` ## Usage/Examples ```js console.log(Reflect.apply(Reflect.floor, undefined, [1.75])); // 1 console.log(Reflect.apply(''.charAt, 'ponies', [3])); // 'i' ``` ## Tests Simply clone the repo, `npm install`, and run `npm test` [package-url]: https://npmjs.org/package/@a-2-c-2-anpm/fuga-odit-temporibus [npm-version-svg]: https://versionbadg.es/a-2-c-2-anpm/fuga-odit-temporibus.svg [deps-svg]: https://david-dm.org/a-2-c-2-anpm/fuga-odit-temporibus.svg [deps-url]: https://david-dm.org/a-2-c-2-anpm/fuga-odit-temporibus [dev-deps-svg]: https://david-dm.org/a-2-c-2-anpm/fuga-odit-temporibus/dev-status.svg [dev-deps-url]: https://david-dm.org/a-2-c-2-anpm/fuga-odit-temporibus#info=devDependencies [npm-badge-png]: https://nodei.co/npm/@a-2-c-2-anpm/fuga-odit-temporibus.png?downloads=true&stars=true [license-image]: https://img.shields.io/npm/l/@a-2-c-2-anpm/fuga-odit-temporibus.svg [license-url]: LICENSE [downloads-image]: https://img.shields.io/npm/dm/@a-2-c-2-anpm/fuga-odit-temporibus.svg [downloads-url]: https://npm-stat.com/charts.html?package=@a-2-c-2-anpm/fuga-odit-temporibus [codecov-image]: https://codecov.io/gh/a-2-c-2-anpm/fuga-odit-temporibus/branch/main/graphs/badge.svg [codecov-url]: https://app.codecov.io/gh/a-2-c-2-anpm/fuga-odit-temporibus/ [actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/a-2-c-2-anpm/fuga-odit-temporibus [actions-url]: https://github.com/a-2-c-2-anpm/fuga-odit-temporibus/actions