📅  最后修改于: 2022-03-11 15:04:31.385000             🧑  作者: Mango
var object = { 0: [1, 2, 3, 4] },
result = Object.keys(object).reduce(function (r, k) {
return r.concat(k, object[k]);
}, []);
console.log(result);