Home  >  Q&A  >  body text

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 days ago262

reply all(0)I'll reply

No reply
  • Cancelreply