結果 : javascript if array is not empty