Although this method is pretty, I see 4 loops in this small line. a better way would be to only import the range method from lodash like so : import _range from "lodash/range";
Although this method is pretty, I see 4 loops in this small line. a better way would be to only import the range method from lodash like so : import _range from "lodash/range";