It might be a little cleaner to use .reduce instead of for...of... loop: Object.keys(widgetsObj).reduce( (obj, key) => { obj[key] ...
確定! 回上一頁