-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
This is not the expected solution.
Try to use split and join instead.
We prefer methods that can be applied over and over again, with different data.
let myString = "hello,this,is,a,difficult,to,read,sentence";
console.log(myString);
var length = myString.length;
console.log (length);
//Find a way to remove the commas from the string and replace them with spaces:
myString = "hello this is a difficult to read sentence";
console.log (myString);
Metadata
Metadata
Assignees
Labels
No labels