lodashは見ておこうと思い立ち、サイトの日本語メモを作成しました。 ↓ lodashのES6で書くとこうなるというのはこちらのサイト You Might Not Need Lodash Array(配列操作) _.chunk(array, [size=1]) 配列を引数の数で分割する 公式)Creates an array of elements split into groups the length of size. If array can't be split evenly, the final chunk will be the remaining elements. _.chunk(['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h'], 2); // [["a","b"],["c","d"],["e","f"],["g","h"]] _.comp