V -for循环遍历数组时推荐使用of,语法格式为(item,index) item:迭代时 ... 迭代时对象的键名index:当前元素的索引在遍历对象时,会按Object.keys() ...
確定! 回上一頁