javascript array 2d number os rows code example
Example: JS get 2d array row count
var air = [
['dragonfly', 'crane fly'],
['eagle', 'falcon'],
['jumbo jet','harrier'],
['mosquito', 'wasp']
];
alert(air.length); // 4
var air = [
['dragonfly', 'crane fly'],
['eagle', 'falcon'],
['jumbo jet','harrier'],
['mosquito', 'wasp']
];
alert(air.length); // 4