In javascript, how do I access the index of an array that is contained within another array? For example:
var x= [ [ 1,2 ] , [ 1,3 ] , [ 1,4 ] ];
How would you go about accessing the corresponding index of the [1,4]
vector that is contained within the x
array?