News

The find() method of {{jsxref("Array")}} instances returns the first element in the provided array that satisfies the provided testing function. If no values satisfy the testing function, ...
也可以參考 {{jsxref("Array.findIndex", "findIndex()")}} 方法,它回傳被找到的元素在陣列中的索引,而不是它的值。 If you need to find the ...