What is the best aproach using ES6+ sintaxe to go from this:
const mapedTopicsArray = [
['javascript', 'reactjs'],
['Java', 'reactjs'],
]
To this:
const topicsArrayMergedWithoutDuplicates = ['javascript', 'reactjs','Java']
I know that if I use .reduce() I can acomplish that, but I can't figure out how, the nested Array thing is bogging me.