var obj = {} obj[1] = [1,2,3] obj[3]= [4,5,6] var res = [] for(i in obj) { res.push(obj[i]) } alert(res)