JSFiddle - React, Tailwind, and code Playground

by Khalil Zhang

HTML

<pre>
define a spacify function which takes a string as an argument, and returns the same string but with each character separated by a space, for example:

spacify(‘hello world’) // => ‘h e l l o w o r l d’
</pre>