Javascript – Filter 2-dim array based on string value that contain on 2nd array
so i have a bad bad logic for this assignment, i need to filter 2 Dimension Array that contains the value of string that input on 2nd array. So this is the example of the 2-Dim Array const roles =…