Which of the following is a JavaScript function for rounding a number to the nearest integer?
A. ceil()
B. floor()
C. round()
D. None of the above
Answer:C
Which of the following is a JavaScript function for rounding a number to the nearest integer?
A. ceil() B. floor() C. round() D. None of the above