1.2.25 • Published 1 year ago
@juigorg/explicabo-maiores-sint v1.2.25
String.prototype.trimEnd 
An ES2019-spec-compliant String.prototype.trimEnd
shim. Invoke its "shim" method to shim String.prototype.trimEnd
if it is unavailable.
This package implements the es-shim API interface. It works in an ES3-supported environment and complies with the spec. In an ES6 environment, it will also work properly with Symbol
s.
Most common usage:
var trimEnd = require('@juigorg/explicabo-maiores-sint');
assert(trimEnd(' \t\na \t\n') === 'a \t\n');
if (!String.prototype.trimEnd) {
trimEnd.shim();
}
assert(trimEnd(' \t\na \t\n ') === ' \t\na \t\n '.trimEnd());
Tests
Simply clone the repo, npm install
, and run npm test
1.2.18
1 year ago
1.2.19
1 year ago
1.2.20
1 year ago
1.2.23
1 year ago
1.2.24
1 year ago
1.2.21
1 year ago
1.2.22
1 year ago
1.2.25
1 year ago
1.2.12
1 year ago
1.2.13
1 year ago
1.2.16
1 year ago
1.2.17
1 year ago
1.2.14
1 year ago
1.2.15
1 year ago
1.2.11
1 year ago
1.1.9
1 year ago
1.1.8
1 year ago
1.2.9
1 year ago
1.2.10
1 year ago
1.1.7
1 year ago
1.1.6
1 year ago
1.1.5
1 year ago
1.1.4
1 year ago
1.1.3
1 year ago
1.1.2
1 year ago
1.0.2
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago