diff --git a/snippets/toKebabCase.md b/snippets/toKebabCase.md index 69d415551..d23e36831 100644 --- a/snippets/toKebabCase.md +++ b/snippets/toKebabCase.md @@ -6,7 +6,7 @@ tags: string,regexp,intermediate Converts a string to kebab case. - Use `String.prototype.match()` to break the string into words using an appropriate regexp. -- Use `Array.prototype.map()`, `Array.prototype.slice()`, `Array.prototype.join()` and `String.prototype.toLowerCase()` to combine them, adding `-` as a separator. +- Use `Array.prototype.map()`, `Array.prototype.join()` and `String.prototype.toLowerCase()` to combine them, adding `-` as a separator. ```js const toKebabCase = str =>