ES6 added a new method called findIndex() to the Array.prototype , which returns the first element in an array that passes the provided test.
確定! 回上一頁