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!

Difference between revisions of "JavaScript Classes"

From OdleWiki
(Created page with "Category:JavaScript {| |-Array || Creates new array objects. |}")
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
[[Category:JavaScript]]
 
[[Category:JavaScript]]
  
{|
+
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.
+
 
 +
{| class="wikitable"
 +
|-
 +
| style="width: 100px;" | '''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==

Latest revision as of 19:30, 4 February 2013


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