f3e531f0d9dbc842a20a0443e74638f2f3517ac0b68b264026bee4b4812907f17db129f4b36074b525221ba75b50160957fe5233c9ce71afa9aa4c9ea6da46 399 B

12345678910
  1. 'use strict';
  2. var $ = require('../internals/export');
  3. var trimEnd = require('../internals/string-trim-end');
  4. // `String.prototype.trimRight` method
  5. // https://tc39.es/ecma262/#sec-string.prototype.trimend
  6. // eslint-disable-next-line es/no-string-prototype-trimleft-trimright -- safe
  7. $({ target: 'String', proto: true, name: 'trimEnd', forced: ''.trimRight !== trimEnd }, {
  8. trimRight: trimEnd
  9. });