Map 转为Object. var map = new Map();. map.set(1, '111').set(2, '222').set(3, '333');. // 使用for of. function mapToObj (map) {. var obj = {};.
確定! 回上一頁