const jumbledNums = [123, 7, 25, 78, 5, 9]; 
const lessThanTen = jumbledNums.findIndex(num => {
  return num < 10;
});
Hi,
my problem is that this snippet is returning only first met index of element meeting condition num < 10 , but I want to save all indexes meeting condition into new array. From what I have read on Mozilla documentation of .findIndex(), it doesn't check other elements after it finds an element which meeting a condition. Is there any way I can reiterate .findIndex over every element in the array (e.g. using .map()) or I need to use another method to do it?
 
     
     
     
    