ES2019 spec-compliant String.prototype.trimEnd shim.
github.com/es-shims/String.prototype.trimEnd
es-shims/String.prototype.trimEnd