結果 : if array is not null javascript