ES5 ES6中Array对象去除重复项的方法总结 输入例子[false,true,undefined,null,NaN,0,1,{},{},'a','a',NaN].uniq()输出例子[false,true,undefined,null,NaN,0,1,{ 数组去除重复对象