This wiki is for the exclusive use of my friends and colleagues. Account creation and anonymous editing have been turned off.

If you are a friend or colleague of mine, and would like to participate in this project, please send me a message.

If you find these pages useful, please donate to help cover server costs. Thanks!

JavaScript Classes

From OdleWiki
Revision as of 19:30, 4 February 2013 by Kenneth John Odle (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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.

External Links