It seems that it should be Array.findIndex() instead.41Sergey FalinskySaidHayani@FollowSep 6, 2018 · 1 min readYou’re right ,Thanks :)