Goal: Convert a string to kebab-case. For example: Source challenge: https://github.com/type-challenges/type-challenges/tree/main/questions/00612-medium-kebabcase Reference explanation: https://github.com/ghaiklor/type-challenges-solutions/blob/main/en/medium-kebabcase.md
Run "Check Solution" to validate your code in the browser.