Moat interview question

Please build a function that inserts spaces between all letters of a word using Javascript.

Interview Answer

Anonymous

25 Nov 2016

I wrote a function the split the string into an array and then subsequently joined letters of the string using a space.