Math Object
A built-in object containing mathematical constants and functions.
What is Math Object in JavaScript?
Math Object — A built-in object containing mathematical constants and functions.
const roundedPrice = Math.round(4.6);
const sample = Math.random();
Level: Apprentice · More JavaScript terms at this level
Updated