help me
The problem is in the string inside the if
try to replace
if (space [i] !== ‘_’ && space[i] !== word[i])
for
if (space [i] !== ‘-’ && space[i] !== word[i])
The problem is in the string inside the if
try to replace
if (space [i] !== ‘_’ && space[i] !== word[i])
for
if (space [i] !== ‘-’ && space[i] !== word[i])