HF RL Explorer

Task: Replace All Spaces in a String with '+'

Task: Replace All Spaces in a String with '+': a task in Terminal-Lego-15k (Harbor dataset). You need to write a JavaScript function that replaces all occurrences of spaces in a string with the + symbol.

Part of PrimeIntellect/Terminal-Lego-15k.