Assuming I have an array of arrays e.g.
let data = [ ['a', 'b', 'c'], [1,2,3], ['@', '!' , '%'] ]
How can I convert this into an array of objects such that the first element of each array gets put into an object, the second element gets put into another object, etc. For example the desired output for the 2d array above would be this:
[ {charatcer: 'a', number: 1, symbol: '@'},
{charatcer: 'b', number: 2, symbol: '!'},
{charatcer:'c', number: 3, symbol: '%'} ];