为空:array == undefined || array.length <= 0 (顺序不能调换)

不为空: array !==undefined && array.length > 0