But in ES5 we are used to performing operations like this with indexOf() method. Using includes() method. const array = [1,2,3,4,5,6]; if(array.
確定! 回上一頁