These objects are available only in client JavaScript. Other JavaScript objects. Object Description string Allows programs to work with string data. Each string variable in JavaScript is actually an instance of this object. Math Provides methods and properties to perform mathematical calculations ranging from trigonometry to square roots.
Date Provides methods and functions for tracking and manipulating dates.
User-Defined Objects Users can define their own objects and then create instances of them in JavaScript by creating a constructor function. Using a constructor function, you can define multiple instances of the object. In the function, you define a single property called owner and assign an empty string to the property. To use the object, you need to create an instance of it. Note that this function uses the this keyword again to refer to the particular object the function is associated with.