Task: Replace All Commas in a String Using JavaScript
Task: Replace All Commas in a String Using JavaScript: a task in Terminal-Lego-15k (Harbor dataset). Create a JavaScript solution that replaces all occurrences of commas in a string, not just the first one.
The task
Create a JavaScript solution that replaces **all** occurrences of commas in a string, not just the first one.
Part of PrimeIntellect/Terminal-Lego-15k.