JavaScript Classes
From OdleWiki
Revision as of 19:30, 4 February 2013 by Kenneth John Odle (talk | contribs)
A JavaScript class is a template or blueprint that serves as the basis for new objects. Codes, methods, attributes, and other information that make up an object are organized into classes. When you use an object in your program, you actually create an instance of the class of the object.
Array | Creates new array objects. |
Boolean | Creates new Boolean objects. |
Date | Retrieves and manipulates dates and times. |
Error | Returns runtime error information. |
Function | Creates new function objects. |
Global | Stores global variables and contains various built-in JavaScript functions. |
Math | Contains methods and properties for manipulating numbers. |
Number | Contains methods and properties for manipulating numbers. |
Object | Represents the base class for all built-in JavaScript classes; contains several of the built-in JavaScript functions. |
RegExp | Contains methods and properties for finding and replacing characters in text strings. |
String | Contains methods and properties for manipulating text strings. |