includes用途: 检测数组中是否存在该元素,返回Boolean值
let list = [1, 2, 3];
let res = list.includes("蛙人")
let res1 = list.includes(1)
con
2021-04-12