I have a 2D array where I need to filter the rows having date field (3d column)
var data = [
['1','a','12-12-2019','A'],
['2','b','','A'],
['3','c','12-1-2019','A'],
['4','d','','A'],
];
The expected result is
result = [
['1','a','12-12-2019','A'],
['3','c','12-1-2019','A'],
];
Using for loop for comprisons is time intensive, Is there a fastest way to retrieve?