結果 : how to check if empty string javascript