polyfill-array-includes
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

Polyfill Array.prototype.includes

This is a polyfill for the Array.prototype.includes method based on the code from MDN.

Installation

npm install polyfill-array-includes

yarn add polyfill-array-includes

Usage

With ES6:

import 'polyfill-array-includes';

In Browser:

<script src="/node_modules/polyfill-array-includes/index.js"></script>

Readme

Keywords

none

Package Sidebar

Install

npm i polyfill-array-includes

Weekly Downloads

36,497

Version

2.0.0

License

MIT

Unpacked Size

3.25 kB

Total Files

7

Last publish

Collaborators

  • latusinski