I have multidimensional array with strings:
const arr = [['a', 'b'], ['c', 'd'], ['d', 'a']]
How can i log to console all values that occur in all nested arrays more than 1 time? (For this example function should console.log 'a' and 'd').
Thanks for the help
console.logthem. I can create a fiddle if you need