<script>
T11=1;
T21=2;
var temp=0,tm=1
for(ts=1;ts<=2;ts++)
temp=temp+eval("T"+ts+tm); //这里怎么表达这个组合起来的变量呀?
alert(temp);
</script>
T11=1;
T21=2;
var temp=0,tm=1
for(ts=1;ts<=2;ts++)
temp=temp+eval("T"+ts+tm); //这里怎么表达这个组合起来的变量呀?
alert(temp);
</script>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货