findIndex

2018-05-18  本文已影响0人  jh2k15

[1,2,3].findIndex((item) => {
return item >= 2
})

// 1

上一篇 下一篇

猜你喜欢

热点阅读