String.prototype.trimRight
String trim shim
A shim that adds support for the trimRight method to the String prototype in JavaScript environments where it is not natively supported.
ES2019 spec-compliant shim for String.prototype.trimRight.
8 stars
5 watching
3 forks
Language: JavaScript
last commit: almost 4 years agoLinked from 1 awesome list
ecmascriptjavascriptpolyfillshimstringtrimtrimendtrimright
Related projects:
| Repository | Description | Stars |
|---|---|---|
| An ES5 spec-compliant shim for removing whitespace from string edges | 13 | |
| A shim to add support for trimming whitespace from the left side of strings in JavaScript. | 7 | |
| A polyfill shim for the String.prototype.replaceAll method to ensure compatibility with ESnext proposal in older JavaScript environments. | 36 | |
| A polyfill for the Array.prototype.every method to enable it in older JavaScript environments. | 7 | |
| A polyfill for the Array.prototype.includes method in older JavaScript environments | 43 | |
| Provides a shim for the Array.prototype.flatMap method to work in older JavaScript environments. | 32 | |
| Shim to implement Object.values in environments lacking its support or spec compliance | 72 | |
| An ES2017 spec-compliant shim to ensure compatibility in environments lacking native Object.entries support. | 57 | |
| Polyfills an ES5 method to check if any element in an array meets a condition | 2 | |
| A shim polyfill for the Object.fromEntries method to ensure compatibility with older JavaScript environments. | 33 | |
| Provides a polyfill for accessing the global object in ECMAScript environments where it is not supported | 155 | |
| A shim for comparing values in JavaScript | 25 | |
| A polyfill shim for the String.prototype.endsWith method to ensure compatibility with older JavaScript environments. | 35 | |
| A polyfill for ES6 Reflect and Proxy objects to provide compatibility with older browsers or Node.js versions. | 481 | |
| An ES2015 spec-compliant shim for the Array.of method in ECMAScript 6 | 15 |