Curry Object2Map

const buildMap = o => Object.keys(o).reduce((m, k) => m.set(k, o[k]), new Map());

0 个评论

要回复文章请先登录注册