Untitled
unknown
plain_text
4 years ago
209 B
5
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...