JavaScript で flatten - Qiita

配列の配列を展開します。var nested = [ [0, 1, 2], [3, 4, 5], [6, 7, 8]];Array.prototype.concat.apply([], nes…