String Object Syntax

Math Object Properties

JavaScript provides eight mathematical properties (constants) that can be accessed from the Math object. Here is an example of how to use the PI property:

Math Object Methods

The following table lists the methods of the Math object. Here is an example of how to use the Math max method: Always keep in mind that JavaScript is case sensitive.