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