Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 609 Bytes

README.md

File metadata and controls

17 lines (9 loc) · 609 Bytes

prototype-indexof-shim

Build Status

Browser shim for Array.prototype.indexOf as seen on MDN

This is most likely useful in a project built with Browserify where <= IE8 compatibility is required.

Installation

npm install prototype-indexof-shim --save

Usage

require('prototype-indexof-shim');

This will not override the native method.