搜索

首页  >  问答  >  正文

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]);
}
怪我咯怪我咯2774 天前268

全部回复(0)我来回复

暂无回复
  • 取消回复