📌  相关文章
📜  js 检查数组是否为空 - Javascript 代码示例

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

代码示例6
if (typeof image_array !== 'undefined' && image_array.length > 0) {
    // the array is defined and has at least one element
}