SOURCE

const list = [
    { mid: 1, value: '一' },
    { mid: 2, value: '二' },
    { mid: 3, value: '三' },
]

const curring = (key) => {
    return element => {
        console.log(element)
        return element[key]
    }
}

const name_mid = curring('mid')

console.log(list.map(name_mid))

console.log(list.map(item => item.mid))
console 命令行工具 X clear

                    
>
console