結果 : check input is string javascript