// Practice Set · JS Math · guest

Guest practice: this set is not saved and does not count.

Question 1 of 5 from: JS Math

What does this log?

console.log(Math.max([4, 19, 7]), Math.max(...[4, 19, 7]), Math.max());
Question 2 of 5 from: JS Math Reference

What does this log?

console.log(Math.hypot(5, 12), Math.cbrt(64), Math.log10(1000));
Question 3 of 5 from: JS Math Reference

What does this log?

console.log(Math.sqrt(-1), Math.acos(2), Math.log(-1));
Question 4 of 5 from: JS Math Reference

What does this log?

const digits = n => Math.floor(Math.log10(n)) + 1;
console.log(digits(7), digits(4096), digits(1000000));
Question 5 of 5 from: JS Math Reference

What does this log?

console.log(Math.sign(-8), Math.sign(0), Math.abs(58 - 71));
Ready to submit?

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.