string.prototype.trimend

ES2019 spec-compliant String.prototype.trimEnd shim.

Browse on unpkg