To conduct a mathematical operation, the JavaScript math object includes numerous constants and methods. It does not have constructors, unlike the date object. Consider the following scenario:
function display()
{
document.writeln(Math.random());
}
display();