Skip to content

Latest commit

 

History

History
44 lines (38 loc) · 1.76 KB

File metadata and controls

44 lines (38 loc) · 1.76 KB

Spacify

Provider Source Solutions
Codewars 57f8ee485cae443c4d000127 JavaScript

Modify the spacify function so that it returns the given string with spaces inserted between each character.

spacify=("hello world") -> # returns "h e l l o   w o r l d
spacify("hello world") # returns "h e l l o   w o r l d"
spacify "hello world" -- returns "h e l l o   w o r l d"
spacify("hello world") // returns "h e l l o   w o r l d"
spacify("hello world") // returns "h e l l o   w o r l d"
spacify("hello world") # returns "h e l l o   w o r l d"
spacify("hello world") # returns "h e l l o   w o r l d"
spacify("hello world") // returns "h e l l o   w o r l d"
spacify("hello world") // "h e l l o   w o r l d"
spacify("hello world") // "h e l l o   w o r l d"