String.prototype.includes

String includes method

A robust polyfill for the includes method in ECMAScript 6

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

GitHub

68 stars
5 watching
9 forks
Language: JavaScript
last commit: about 1 month ago

Related projects:

Repository Description Stars
mathiasbynens/string.prototype.startswith A polyfill for the String.prototype.startsWith method in ECMAScript 6. 144
mathiasbynens/string.prototype.endswith A polyfill shim for the String.prototype.endsWith method to ensure compatibility with older JavaScript environments. 35
mathiasbynens/string.prototype.repeat A polyfill implementation of the String.prototype.repeat method in ECMAScript 6 27
mathiasbynens/regexp.prototype.search A polyfill for the search method in ECMAScript 6's RegExp object 5
mathiasbynens/array.from Creates a new array instance from an array-like or iterable object. 67
mathiasbynens/string.prototype.codepointat A polyfill for the ES6 String.prototype.codePointAt method to support older browsers and environments 53
mathiasbynens/array.of An ES2015 spec-compliant shim for the Array.of method in ECMAScript 6 15
mathiasbynens/regexp.prototype.match Provides an ES3-compatible polyfill for the match method of RegExp objects in ECMAScript 6 10
es-shims/array-includes A polyfill for the Array.prototype.includes method in older JavaScript environments 43
mathiasbynens/string.fromcodepoint A polyfill for the String.fromCodePoint method in ECMAScript 6 61
es-shims/array.prototype.every A polyfill for the Array.prototype.every method to enable it in older JavaScript environments. 7
es-shims/string.prototype.replaceall A polyfill shim for the String.prototype.replaceAll method to ensure compatibility with ESnext proposal in older JavaScript environments. 36
es-shims/array.prototype.some Polyfills an ES5 method to check if any element in an array meets a condition 2
paulmillr/array.prototype.find Fills ES6 Array.prototype.find method in older environments 38
jprichardson/string.js Provides additional string manipulation methods in JavaScript without modifying the native prototype. 1,809