You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A robust & optimized ES3-compatible polyfill for [the `String.prototype.endsWith` method in ECMAScript 6](http://people.mozilla.org/~jorendorff/es6-draft.html#sec-string.prototype.endswith).
3
+
A robust & optimized polyfill for [the `String.prototype.endsWith` method in ECMAScript 6](http://people.mozilla.org/~jorendorff/es6-draft.html#sec-string.prototype.endswith).
4
+
5
+
This package implements the [es-shim API](https://github.com/es-shims/api) interface. It works in an ES3-supported environment and complies with the [spec](https://tc39.es/ecma262/#sec-string.prototype.endswith).
4
6
5
7
Other polyfills for `String.prototype.endsWith` are available:
6
8
@@ -9,12 +11,6 @@ Other polyfills for `String.prototype.endsWith` are available:
> **NOTE**: It's recommended that you install this module using a package manager
31
+
> such as `npm`, because loading multiple polyfills from a CDN (such as `bundle.run`)
32
+
> will lead to duplicated code.
33
+
34
34
## Notes
35
35
36
36
Polyfills + test suites for [`String.prototype.startsWith`](https://mths.be/startswith) and [`String.prototype.contains`](https://mths.be/contains) are available, too.
0 commit comments