let arr = [...new Set([1,'1',2,1,1,3,2,'4'])]
console.log(arr);
数组去重(一行代码搞定)
猜你喜欢
转载自blog.csdn.net/yufengaotian/article/details/80945990
今日推荐
周排行