The for...in statement is used to loop (iterate) through the elements of an array or through the properties of an object.
循环对象的所有属性:
循环数组的所有元素:
The for...in statement is used to loop (iterate) through the elements of an array or through the properties of an object.
循环对象的所有属性:
循环数组的所有元素: