結果 : if variable not empty javascript