let arr = [1, 2, 3, 4]; if (arr.indexOf('1') > -1) {} //判断1是否在数组arr中,true=是if (arr.indexOf('1') 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交