Update _.pad* examples to show pad length < string. (#3088)

One example now shows that specifying a padding length of less than the
length of the string returns the entire original string.
This commit is contained in:
Charles Merriam
2017-03-30 12:55:00 -07:00
committed by John-David Dalton
parent 43a520c971
commit b679e9cc22
3 changed files with 3 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ import stringSize from './.internal/stringSize.js'
* padStart('abc', 6, '_-')
* // => '_-_abc'
*
* padStart('abc', 3)
* padStart('abc', 2)
* // => 'abc'
*/
function padStart(string, length, chars) {