1、ES6判断数组是否存在重复元素 let arr = [1, 2, 3, 4, 5, 2, 3]; if ((new Set(arr)).size != arr.length) { console.log('数组有重复值'
let userInfoLS=[ {id:1,name:'aaa'}, {id:2,name:'bbb'}, {id:3,name:'ccc'}, {id:2,name:'ddd
dedecms建站 关键词排名 CMS网站 mysql语法 新站 调用 es6语法 栏目 标签 织梦 id wordpress技巧 php入门 帝国 模板 wordpress函数 jquery php语法 SEO优化 新站seo