📜  javascript 数组为空 - Javascript 代码示例
📅  最后修改于: 2022-03-11 15:03:32.688000             🧑  作者: Mango
代码示例6
if (typeof image_array !== 'undefined' && image_array.length > 0) {
// the array is defined and has at least one element
}