O'Reilly logo

JavaScript: A Beginner's Guide, Fourth Edition, 4th Edition by John Pollock

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 12
Math, Number, and Date Objects
Key Skills & Concepts
    Using the Math Object
    Understanding the Number Object
    Using the Date Object
image
In this chapter, you will learn about the JavaScript Math, Number, and Date objects, in that order. For each object, a short introduction is provided along with a description of why the object can be useful to you. Following that is a look at the various properties and methods that you can use for that object.
Using the Math Object
The Math object can be useful when you need to perform various calculations in your scripts. To begin, take a look at what the Math object is.
What Is the Math Object? ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required