const deps = { '采购部':[1,2,3], '人事部':[5,8,12], '行政部':[5,14,79], '运输部':[3,64,105] } let member = Object.values(deps).flat(Infinity); // [1, 2, 3, 5, 8, 12, 5, 14, 79, 3, 64, 105]
标签:ES6,12,数组,合并,64,deps,79,105 From: https://www.cnblogs.com/axdbk/p/16715452.html