SOURCE

let arr = [
    {age:18,name:'张三'},
    {age:13,name:'李四'},
    {age:14,name:'王五'},
    {age:15,name:'丁六'},
    {age:16,name:'张三'},
]
let obj = {}
let newArr = arr.reduce((pre,next) => {
    obj[next['name']] ? '' : obj[next['name']] = pre.push(next)
    return pre
},[])

console.log(newArr)
console 命令行工具 X clear

                    
>
console