Tell us what’s happening:
Describe your issue in detail here.
what are my not getting right??
**Your code so far**
function spinalCase(str) {
return str.replace(/\s+/g, '-').toLowerCase()
}
console.log(spinalCase('This Is Spinal Tap'));
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0
Challenge: Spinal Tap Case
Link to the challenge: