How to remove array element?
My arry is :
var arr = new Array();
arr.push([1,2]);
arr.push([2,2]);
arr.push([3,3]);
I want to remove no 2 element so i tried following methods
arr.remove([2,2]); // not working
i tried to get index of element but that also did not work
arr.indexOf([2,2]);