Javascript – Two dimensional array, filter and return new array with the indexes rather than values
I have a two dimensional array that in turn has an object with an additional array. I want to filter the array and return a new array with the index that matches the criteria with the object. For example: One…