I have this problem where the array of objects is intendedly put into this kind of structure:
const productArray = [ { 'Product A': 5000 }, { 'Product B': 2500 }, { 'Product C': 3500 }, { 'Product D': 2750 }, { 'Product E': 1500 }, ]; On what way could I determine the highest and lowest value of this kind of array? Thank you very much.