📜  JS 获取二维数组行数 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:39.827000             🧑  作者: Mango

代码示例1
var air = [
    ['dragonfly', 'crane fly'],
    ['eagle', 'falcon'],
    ['jumbo jet','harrier'],
    ['mosquito', 'wasp']
];

alert(air.length); // 4