Untitled

Anonymous
plain_text
03/20/2022 3:54 PM
280 B
12
Indexable
let frase = "the spice must flow";
let str = frase.split(" ")
let arr = []

for (i = 0; i < frase.length; i++) {
    if (frase[i] == " ") {
        current + frase[i]
    }

}


console.log(frase);
Editor is loading...