let arr=[1,2,"wo"]
arr.includes("wo")
输出:true
includes检查数组中是否含有某个元素
最新推荐文章于 2023-06-16 17:09:13 发布
let arr=[1,2,"wo"]
arr.includes("wo")
输出:true