結果 : how to check if input value is empty javascript