Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
209 B
2
Indexable
Never
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);