結果 : how to check if integer javascript