I have two arrays and I would like to compare them and return all the values that are on both, even if they repeat.
const correctValue = ['0', '1'];
const actualValue = [
['0', '2', '0', 'E', '1', '1', 'u', '0', '1', '0', ':', '1'],
['0', '0', '1', 'u', '0', '}', '1', 'l', '1', '1', '1', '˜'],
['x', 'k', 'e', '2', '|', '[', 'z', '8', 's', 'd', '2', '5'],
['r', '8', '6', ']', '2', '6', 'H', ';', 'Á', 'l', 'm', '?'],
['Y', '0', '0', '1', '1', '7', '1', '.', '0', 'v', '0', '1']
];