結果 : check if input is null or empty javascript