I wanted to ask I have an array of objects and I need to compare the first value of the array with the second one and it has to be within the range of valueFrom to valueTo but I can not get it to achieve what I need Ahem: if I have a range of 30 - 40 I can not put another value within that range
I leave the fiddle below: