写一个函数实现js数组任意类型去重:输入:["a","a",0, 0, {}, {}, {a:1},{a:1},[],[],[1],[1],null, null, undefined,undefined, /\.js$/, /\.js$/]输出:["a", 0 , {}, {a:1}, [], [1], null, undefined, /\.js$/]
添加回答
举报
0/150
提交
取消