結果 : if var is not null javascript