indexOf () 來處理,但在ES2016 (ES7) 提供了 Array.prototype.includes() 新的Array ... 另外為了一致性, Array.prototype.includes() 的參數用法跟 Array.prototype.
確定! 回上一頁