I need help to create an array of objects from two exiting array
["A","B","C"]
[1,2,3]
What I want is something like the below:
[{name: "A", id: 1, trash: false},{name: "B", id: 2, trash: false},{name: "C", id: 3, trash: false}]
properties should be defined as I want it like name and id and the value of them should come from existing arrays.