function test(){
this[1]=1;
console.log(this[1]);
}
test();
这段代码在Firefox 19和Chrome 25中运行,均输出:1。
但在Firefox Nightly 中却输出:undefine;请问这里this[1]的含义是什么?
this[1]=1;
console.log(this[1]);
}
test();
这段代码在Firefox 19和Chrome 25中运行,均输出:1。
但在Firefox Nightly 中却输出:undefine;请问这里this[1]的含义是什么?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货