js:for...in 语句(JavaScript For...In Statement)
Posted on 2007-12-21 11:30 focus 阅读(3781) 评论(0) 编辑 收藏 举报The for...in statement is used to loop (iterate) through the elements of an array or through the properties of an object.
循环对象的所有属性:
循环数组的所有元素: