Update snippet descriptions
This commit is contained in:
@ -9,7 +9,8 @@ Indents each line in the provided string.
|
||||
- Omit the third parameter, `indent`, to use a default indentation character of `' '`.
|
||||
|
||||
```js
|
||||
const indentString = (str, count, indent = ' ') => str.replace(/^/gm, indent.repeat(count));
|
||||
const indentString = (str, count, indent = ' ') =>
|
||||
str.replace(/^/gm, indent.repeat(count));
|
||||
```
|
||||
|
||||
```js
|
||||
|
||||
Reference in New Issue
Block a user