对象个数

2018-03-09  本文已影响0人  lovelydong

var key, counter = 0;
for(key in obj) counter++;
alert(counter);

上一篇 下一篇

猜你喜欢

热点阅读