Math functions

There are several built-in functions for common mathematical operations under global name Math.

These functions are available to JavaScript programs running anywhere (in the browser or on a computer).

Was this page helpful?