摘要:
function isArray(object){ return object && typeof object==='object' && typeof object.length==='number' && typeof object.splice==='function' && //判断len 阅读全文
posted @ 2016-01-20 15:56
facial
阅读(369)
评论(0)
推荐(0)
摘要:
The most common way to loop through the elements of an array is with a for loop:var o = [1,2,3,4,5]var keys = Object.keys(o); // Get an ar... 阅读全文
posted @ 2016-01-20 12:12
facial
阅读(561)
评论(0)
推荐(0)

浙公网安备 33010602011771号