I have an object array in my angular (typescript) Project.
let a = [{min:0, max:10},{min:10, max:810},{min:-10, max:110}];
So I want to get minimum of min, and maximum of the max items. I need two variables like following:
let min = // minimum of all items min property = -10;
let max = // maximum of all items max property = 810;
can I do this using lambda or other ways practically?