結果 : check if input value is string javascript