indexOf() 來處理,但在ES2016 (ES7) 提供了 Array.prototype.includes() 新的Array method,更方便好用,那這兩個差在哪?解決過去的哪些問題?
確定! 回上一頁