vanillaes/absurdum

strings.trimEnd

Closed this issue · 3 comments

Removes the whitespace from the end of a string

Checklist

  • implementation
  • tests
  • jsdoc

Details

console.log(strings.trimEnd('   Hello world!   '));
>'   Hello world!'

References

Closed as 'invalid' b/c this method is already built-in to JS

Added back in because the operator is not supported in IE

Added in v0.77