for in和for each遍歷的區別

var dataSource:Object = {}; dataSource[1] = 1000; dataSource[2] = 2000; dataSource[3] = 3000; dataSource[4] = 4000; console.log("for each遍歷"); for each(var value:int in dataSource){
相關文章
相關標籤/搜索