結果 : check if variable is not null or empty javascript