const arr = [ 'first=ok', 'second=not', 'third=ok' ];
const obj = {
'first': 'ok',
'second': 'not',
'third': 'ok'
};
Object.fromEntries(new URLSearchParams(arr.join('&')))
arr.reduce((acc, n) => (
n = n.split('='),
acc[n[0]] = n[1],
acc
), {})
Object.assign(...arr.map(n => n.match(/[^=]+/g)).map(([ k, v ]) => ({ [k]: v })))
eval(`({${arr.map(n => `"${n.replace('=', '":"')}"`)}})`)