【前端学习】—使用多种方式实现数组去重(六) 一、数组常用的几个方法 //[1,2,3,4,2,1] //[{ name:"caicai",age:"10"},{ name:"zhangsan",age:"20"}] const array=[