Added Examples for Trim

Trim is kind of an ambiguous term, figured a few examples would help!
This commit is contained in:
Greg Harrison 2018-03-19 10:26:52 -04:00 committed by GitHub
parent 3e1d6d425a
commit f091d64f34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -206,9 +206,9 @@ _.padRight(...)
### Trim ### Trim
```js ```js
_.trim(' str ') _.trim(' str ') // → 'str'
_.trimLeft(' str ') _.trimLeft(' str ') // → 'str '
_.trimRight(' str ') _.trimRight(' str ') // → ' str'
``` ```
### Etc ### Etc