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