indexOf() 來處理,但在ES2016 (ES7) 提供了 Array.prototype.includes() 新的Array method, ... 大致上就是從陣列中找出與 searchElement match 的元素,用嚴格相等 ...
確定! 回上一頁