Updated examples
This commit is contained in:
committed by
Agamemnon Zorbas
parent
99a07d22dd
commit
97c250bcfb
@ -11,6 +11,6 @@ const capitalize = ([first, ...rest], lowerRest = false) =>
|
||||
```
|
||||
|
||||
```js
|
||||
capitalize('fooBar') -> 'FooBar'
|
||||
capitalize('fooBar', true) -> 'Foobar'
|
||||
capitalize('fooBar') // 'FooBar'
|
||||
capitalize('fooBar', true) // 'Foobar'
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user