結果 : javascript if array undefined