[Javascript] findIndex
Could you try to solve the below problem?
Please complete the solution function to return the index of the first occurrence of a negative integer in the given integer list, num_list. If there are no negative integers, return -1.
const num_list = [1...
suzie.hashnode.dev2 min read