I have project's function as follow: I have a two-dimensional array, then should delete the specific one-dimensional array. The two-dimensional array is:
//ID,Name,Age,Score.Student's ID is unique.
var arr1=[["1","aaa","20","90"],
["2","bbb","21","80"],
["3","ccc","22","70"],
["4","ddd","23","60"],
];
var arr2=["3","ccc","22","70"];
I want to get the a two-dimensional array.The result as follow:
result=arr1=[["1","aaa","20","90"],
["2","bbb","21","80"],
["4","ddd","23","60"],
];
I write some codes,but I get a logic error.The URL of jsfiddle is:Edit fiddle
Thank you very much.