I have this array of arrays:
let a = [
["i was sent", "i do"],
["i was sent", "i sent"],
["to protect you", "to find you"]
]
And I want to return this single array from it:
b = ["i was sent = i do", "i was sent = i sent", "to protect you = to find you"]
How can I do that?
I have tried to use a map like let b = a.map(s => s + ' = ');
but it won't do the job?