0
I'm wondering if there is a nicer way to acomplish what I want:
I do have an array with object like that:
let data = [
{val1: [1,2,3,4], val2:[6,7,8,9] }
]
What I want is an object like:
let limit = {
minX: 1, maxX: 4, minY: 6, maxY: 9
};
My Code works but once more I'm wondering if there i...