Update toCamelCase snippet to use const instead of let
This commit is contained in:
@ -10,7 +10,7 @@ Converts a string to camelcase.
|
||||
|
||||
```js
|
||||
const toCamelCase = str => {
|
||||
let s =
|
||||
const s =
|
||||
str &&
|
||||
str
|
||||
.match(
|
||||
|
||||
Reference in New Issue
Block a user