0
var current = 241;
var array = [
{
start: 236.6,
end: 239.42000000000002,
value: 'hello word'
},
{
start: 239.42000000000002,
end: 243.58,
value: 'bar'
},
{
start: 243.58,
end: 246.12,
value: 'X'
}
]
The objective is to locate the index of the second array item where the variable current
this among the values start
and end
array