否則返回-1。 一旦找到滿足測試功能的元素,它就不會執行該功能。 它不會更改原始數組。 用法: array.findIndex(function(currentValue, index, arr), thisValue).
確定! 回上一頁