array.indexOf('string') !== -1; // true array.indexOf(200) !== ... Taking that concept, we can also use it to compare object element in an array like this:.
確定! 回上一頁