結果 : javascript checking if array is empty