SOURCE

const factor = {
    so2: 100,
    n2o3: 100,
    pm10: 50
}

const factorDict = {
    so2: '二氧化硫',
    n2o3: '三氧化二氮',
    pm10: '空气颗粒物',
}

const factorChinese = _.mapKeys(factor, (value, key) => factorDict[key])

console.log(JSON.stringify(factorChinese))
console 命令行工具 X clear

                    
>
console