1. var object = { 0: [1, 2, 3, 4] },. 2. result = Object.keys(object).reduce(function (r, k) {. 3. return r.concat(k, object[k]);.
確定! 回上一頁