Cyril Auburtin (2017-04-22T13:41:55.000Z)
Like some other languages (ex: python .strip, postgresql trim, ..) I think
it would really useful that `String.prototype.trim` accept a string
argument representing the characters to trim (or possible a regex).

And keep it's default behavior if no argument is passed

```js
'\t Test \n\n'.trim(' \t\n') == 'Test'
```
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20170422/43b22b97/attachment.html>
cyril.auburtin at gmail.com (2017-04-22T16:11:24.702Z)
Like some other languages (ex: python .strip, postgresql trim, ..) I think
it would really useful that `String.prototype.trim` accept a string
argument representing the characters to trim (or possibly a regex).

And keep it's default behavior if no argument is passed

```js
'\t Test \n\n'.trim(' \t\n') == 'Test'
```