結果 : javascript check if array is undefined or empty