diff --git a/snippets/toCamelCase.md b/snippets/toCamelCase.md index 31271f604..f5e2e661a 100644 --- a/snippets/toCamelCase.md +++ b/snippets/toCamelCase.md @@ -10,7 +10,7 @@ Converts a string to camelcase. ```js const toCamelCase = str => { - let s = + const s = str && str .match(