Task: Replace Spaces with Dashes and Lowercase All Letters
Task: Replace Spaces with Dashes and Lowercase All Letters: a task in Terminal-Lego-15k (Harbor dataset). You need to create a JavaScript utility that reformats strings by: 1. Replacing all whitespace characters with dashes ( - ) 2. Converting all letters to lowercase
The task
You need to create a JavaScript utility that reformats strings by: 1. Replacing all whitespace characters with dashes (`-`) 2. Converting all letters to lowercase
Part of PrimeIntellect/Terminal-Lego-15k.