1.2.25 • Published 2 years 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 Symbols.
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
2 years ago
1.2.19
2 years ago
1.2.20
2 years ago
1.2.23
2 years ago
1.2.24
2 years ago
1.2.21
2 years ago
1.2.22
2 years ago
1.2.25
2 years ago
1.2.12
2 years ago
1.2.13
2 years ago
1.2.16
2 years ago
1.2.17
2 years ago
1.2.14
2 years ago
1.2.15
2 years ago
1.2.11
2 years ago
1.1.9
2 years ago
1.1.8
2 years ago
1.2.9
2 years ago
1.2.10
2 years ago
1.1.7
2 years ago
1.1.6
2 years ago
1.1.5
2 years ago
1.1.4
2 years ago
1.1.3
2 years ago
1.1.2
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
