how to get value from array inside of array [closed]

I need help on how to get values from an array in an array. Example:

var myArray = [[1, 2, 3, 4, 5], [6, 7, 8, 9, 10]];
var result = /* I need the second item in the first array of myArray*/

I’m thinking something like this: var result = myArray[0[1]];

Or this: var result = myArray[0].[1];

Is this possible?