I want to use array key in array of object as new property javascript but which method is best for it
I have
data =[{ itemA: 3, itemB: 5, i