結果 : how to check whether the input is integer or string in javascript