Update toCamelCase snippet to use const instead of let

This commit is contained in:
Lukas Bals
2021-06-08 15:18:27 +01:00
parent eca7a5291e
commit 9fea50f1a0

View File

@ -10,7 +10,7 @@ Converts a string to camelcase.
```js
const toCamelCase = str => {
let s =
const s =
str &&
str
.match(