pub fn index_value(index: usize) -> ValueExpand description
An array index as a JavaScript number.
Same problem as length_value and the same fix: an index may be as large as
2^32-2, which Value::Int cannot hold. a[2**32-2] = 1; a.indexOf(1) was answering
-2 because the index was truncated on the way out.