Do UnderscoreJS have any function which is similar with Array.from(Map). Just for the purpose of learning and testing.
Edit 1:
I have seen the _.toArray but its not working in this case
const result = new Map(
Array(10)
.fill(1)
.map((_, i) => [i + 1, 0])
);
_.toArray(result) // return empty array []