Rumah  >  Soal Jawab  >  teks badan

javascript - 如何使用spidermonkey

求指点,还有编译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]);
}
怪我咯怪我咯2771 hari yang lalu264

membalas semua(0)saya akan balas

Tiada jawapan
  • Batalbalas