String.prototype.endsWith

String endsWith

A polyfill shim for the String.prototype.endsWith method to ensure compatibility with older JavaScript environments.

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

GitHub

35 stars
7 watching
5 forks
Language: JavaScript
last commit: 8 months 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.includes A robust polyfill for the includes method in ECMAScript 6 68
mathiasbynens/string.prototype.repeat A polyfill implementation of the String.prototype.repeat method in ECMAScript 6 27
mathiasbynens/string.prototype.codepointat A polyfill for the ES6 String.prototype.codePointAt method to support older browsers and environments 53
mathiasbynens/regexp.prototype.search A polyfill for the search method in ECMAScript 6's RegExp object 5
mathiasbynens/array.of An ES2015 spec-compliant shim for the Array.of method in ECMAScript 6 15
mathiasbynens/array.from Creates a new array instance from an array-like or iterable object. 67
mathiasbynens/regexp.prototype.match Provides an ES3-compatible polyfill for the match method of RegExp objects in ECMAScript 6 10
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.every A polyfill for the Array.prototype.every method to enable it in older JavaScript environments. 7
mathiasbynens/string.fromcodepoint A polyfill for the String.fromCodePoint method in ECMAScript 6 61
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
es-shims/string.prototype.trimright A shim that adds support for the trimRight method to the String prototype in JavaScript environments where it is not natively supported. 8
paulmillr/array.prototype.findindex Polyfills ES6 Array.prototype.findIndex for older environments 28