Maison > Questions et réponses > le corps du texte
求指点,还有编译js代码一直报错请看看:
源码:
var sentence = "the quick brown fox jumped over the lazy dog";
var words = sentence.split(" ");
for (var i = 0; i< words.length; ++i) {
print("word " + i + ": " + words[i]);
}