See also the findIndex() method, which returns the index of a found element in the array instead of its value. Syntax. JavaScript. Copy Code. <var>arr</var>.
確定! 回上一頁