es-shims

es-shims/string.prototype.matchall

Spec-compliant polyfill for String.prototype.matchAll, in ES2020

JavaScript
17
4
MIT License

This is a spec-compliant polyfill for the `String.prototype.matchAll` method, which is part of ES2020. It provides a shim that can be invoked to add `String.prototype.matchAll` support to environments where it's unavailable or noncompliant, and works in ES3-supported environments. The library is primarily for JavaScript developers who need to use the `matchAll` method in older environments or want to ensure spec-compliant behavior across different JavaScript engines.

Total donated
Undistributed
Share with your subscribers: