findIndex()返回第一个符合条件的数组成员的位置,如果都不符合条件返回-1 [1, 5, 10, 15].findIndex((value, index, arr) => { return value > 9;}) // 2