This is BUGGY -
with this string
spinalCase('this_Is-SpinalCase iI')
it returns:
this-is--spinal-case-i-i
which should NOT pass the 4th requirement; the return has an extra ’ - ’ in it …
This is BUGGY -
with this string
spinalCase('this_Is-SpinalCase iI')
it returns:
this-is--spinal-case-i-i
which should NOT pass the 4th requirement; the return has an extra ’ - ’ in it …