数组ES6新增-arr数组本身的方法:find查找返回第一个 / findIndex查找返回索引 / includes是否包含 find() find() 方法返回数组中满足提供的测试函数的第一个元素的值。否则返回 undefined 语法:arr.find(callback[, thisArg]) callback 在数组每一项上执行的函数,接收 3 个参数: 1.element 当前遍历到的元素。