看看某个值在不在这个数组里面,是个完整的数
var array1 = [1, 2, 3];console.log(array1.includes(2));// expected output: truevar pets = ['cat', 'dog', 'bat'];console.log(pets.includes('cat'));// expected output: trueconsole.log(pets.includes('at'));// expected output: false