This is my array:
const arr = ['first string', 'second string'];
How can I map this, so I get:
const obj = {'first string': 'found', 'second string', 'found'};
I have tried this:
const obj = arr.forEach(item => {item: 'found'})
but it is not working.