Standard Classes

JavaScript provides a number of classes and methods for use by programmers. A few of those items are described below:
Math Class

The Math class methods are static methods that are called from the class name (e.g. Math.sqrt()). Each method takes at least one parameter and performs the required operations on it.
Date object

The Date class methods allow access to information about the date and time. They are accessed using Date.functionName. The Date object relies on internal clock, if set wrong, the wrong information will show.