Guest practice: this set is not saved and does not count.
What does this log?
console.log(Math.max([4, 19, 7]), Math.max(...[4, 19, 7]), Math.max());
console.log(Math.sqrt(-1), Math.acos(2), Math.log(-1));
Error
const toDeg = rad => rad * 180 / Math.PI; console.log(toDeg(Math.atan2(10, 0)), toDeg(Math.atan2(0, 10)));
Infinity
console.log(Math.sign(-8), Math.sign(0), Math.abs(58 - 71));
Which expression gives a random whole number from 1 to 10, with both 1 and 10 possible?
Math.floor(Math.random() * 11)
Math.floor(Math.random() * 10) + 1
Math.floor(Math.random() * 10)
Math.round(Math.random() * 10)
Click a question to go back and check it. After you submit, you will see the right answer and an explanation for every question. As a guest, nothing is saved.
Check my answers