mathiasbynens

mathiasbynens/string.prototype.incl...

A robust & optimized ES3-compatible polyfill for the `String.prototype.contains` method in ECMAScript 6.

JavaScript
69
8
MIT License

This is a polyfill that adds the ES6 `String.prototype.includes` method to environments that don't support it natively, allowing developers to use this modern string method in older JavaScript engines. It's designed for developers who need to write ES6-compatible code but must support older browsers or environments that lack this feature.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of mathiasbynens/string.prototype.includes

Account's avatar
Robustly `.call.bind()` a function
Account's avatar
Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in older engines.
Account's avatar
ECMAScript spec abstract operations.
Account's avatar
Loosely test a package's compliance with the es-shim API
Account's avatar
My shareable eslint config
Account's avatar
Does this JS environment support the `name` property on functions?
Account's avatar
Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale
Account's avatar
Given an object and a property, replaces a property descriptor (or deletes it), and returns a thunk to restore it.
Account's avatar
tap-producing test harness for node and browsers

Support the repos that depend on this repository

Top contributors

mathiasbynens's profile
mathiasbynens
14 contributions
ljharb's profile
ljharb
10 contributions
nicolo-ribaudo's profile
nicolo-ribaudo
8 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet