What will the following methods return? (2)
i. Math.abs(Math.max(-8,-11));
ii. Math.ceil(14.8);
Answers
Answered by
0
Answer:
The Math.ceil() function always rounds a number up to the next ... Note: Math.ceil( null ) returns integer 0 and does not give a NaN error. ... console.log(Math.ceil( 7.004));.
Answered by
2
Answer:
i-8.0
ii-15.0 hope it helps you
Similar questions