How to change or replace array of array in jquery?

How to change or replace array of array in jquery?

My array is like this :

var arr = new Array();

arr.push([1,1]);   // index 0
arr.push([1,2]);  // index 1
arr.push([1,3]);  // index 2   change value 3 to 5
arr.push([1,4]);   // index 3

Can splice() method be used for doing this?