From f091d64f34a4c85ffe65f95b771ececd40930dc0 Mon Sep 17 00:00:00 2001 From: Greg Harrison Date: Mon, 19 Mar 2018 10:26:52 -0400 Subject: [PATCH] Added Examples for Trim Trim is kind of an ambiguous term, figured a few examples would help! --- lodash.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lodash.md b/lodash.md index 976b7b614..515361ce6 100644 --- a/lodash.md +++ b/lodash.md @@ -206,9 +206,9 @@ _.padRight(...) ### Trim ```js -_.trim(' str ') -_.trimLeft(' str ') -_.trimRight(' str ') +_.trim(' str ') // → 'str' +_.trimLeft(' str ') // → 'str ' +_.trimRight(' str ') // → ' str' ``` ### Etc