I have an array of objects that contain time from and to like this
[{from:2.3,to:4.5},{from:4.5,to:6}]
Now I am trying to loop over this to c