Javascript – How to convert objects of array into array of object
How to convert object of arrays collections into array of object From const obj = { name: ['Sam', 'John', 'Paul'], age: [25, 35, 22], profession: ['Developer', 'Tester', 'Manager'] } To const collections = [ {name: 'Sam', age: 25, profession: 'Developer'},…