Home | Top | Website design | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.

JavaScript language references >>> Properties, Statements and Objects

Language Element
Description
$1...$9 Properties Returns the nine most-recently memorized portions found during pattern matching.
arguments Property Returns an array containing each argument passed to the currently executing function.
caller Property Returns a reference to the function that invoked the current function.
constructor Property Specifies the function that creates an object.
description Property Returns or sets the descriptive string associated with a specific error.
E Property Returns Euler's constant, the base of natural logarithms.
index Property Returns the character position where the first successful match begins in a searched string.
Infinity Property Returns an initial value of Number.POSITIVE_INFINITY.
input Property Returns the string against which a search was performed.
lastIndex Property Returns the character position where the last successful match begins in a searched string.
length Property (Array) Returns an integer value one higher than the highest element defined in an array.
length Property (Function) Returns the number of arguments defined for a function.
length Property (String) Returns the length of a String object.
LN2 Property Returns the natural logarithm of 2.
LN10 Property Returns the natural logarithm of 10.
LOG2E Property Returns the base-2 logarithm of e, Euler's constant.
LOG10E Property Returns the base-10 logarithm of e, Euler's constant.
MAX_VALUE Property Returns the largest number that can be represented in JScript.
MIN_VALUE Property Returns the number closest to zero that can be represented in JScript.
NaN Property (Global) Returns the special value NaN indicating that an expression is not a number.
NaN Property (Number) Returns the special value (NaN) indicating that an expression is not a number.
NEGATIVE_INFINITY Property Returns a value more negative than the largest negative number (-Number.MAX_VALUE) that can be represented in JScript.
number Property Returns or sets the numeric value associated with a specific error.
PI Property Returns the ratio of the circumference of a circle to its diameter, approximately 3.141592653589793.
POSITIVE_INFINITY Property Returns a value larger than the largest number (Number.MAX_VALUE) that can be represented in JScript.
prototype Property Returns a reference to the prototype for a class of objects.
source Property Returns a copy of the text of the regular expression pattern.
SQRT1_2 Property Returns the square root of 0.5, or one divided by the square root of 2.
SQRT2 Property Returns the square root of 2.

Language Element
Description
break Statement Terminates the current loop, or if in conjunction with a label, terminates the associated statement.
catch Statement Contains statements to execute when an error occurs in code within the try block.
@cc_on Statement Activates conditional compilation support.
// (Single-line Comment Statement) Causes single-line comments to be ignored by the JavaScript parser.
/*..*/ (Multiline Comment Statement) Causes multiline comments to be ignored by the JavaScript parser.
continue Statement Stops the current iteration of a loop, and starts a new iteration.
do...while Statement Executes a statement block once, and then repeats execution of the loop until a condition expression evaluates to false.
for Statement Executes a block of statements for as long as a specified condition is true.
for...in Statement Executes one or more statements for each element of an object or array.
function Statement Declares a new function.
@if Statement Conditionally executes a group of statements, depending on the value of an expression.
if...else Statement Conditionally executes a group of statements, depending on the value of an expression.
Labeled Statement Provides an identifier for a statement.
return Statement Exits from the current function and returns a value from that function.
@set Statement Creates variables used with conditional compilation statements.
switch Statement Enables the execution of one or more statements when a specified expression's value matches a label.
this Statement Refers to the current object.
throw Statement Generates an error condition that can be handled by a try...catch statement.
try Statement Implements error handling for JScript.
var Statement Declares a variable.
while Statement Executes a statement until a specified condition is false.
with Statement Establishes the default object for a statement.
Language Element
Description
ActiveXObject Object Enables and returns a reference to an Automation object.
Array Object Provides support for creation of arrays of any data type.
Boolean Object Creates a new Boolean value.
Date Object Enables basic storage and retrieval of dates and times.
Dictionary Object Object that stores data key, item pairs.
Enumerator Object Enables enumeration of items in a collection.
Error Object An object that contains information about errors that occur while JavaScript code is running.
FileSystemObject Object Provides access to a computer's file system.
Function Object Creates a new function.
Global Object An intrinsic object whose purpose is to collect global methods into one object.
Math Object A intrinsic object that provides basic mathematics functionality and constants.
Number Object An object representation of the number data type and placeholder for numeric constants.
Object Object Provides functionality common to all JavaScript objects.
RegExp Object Stores information on regular expression pattern searches.
Regular Expression Object Contains a regular expression pattern.
String Object Allows manipulation and formatting of text strings and determination and location of substrings within strings.
VBArray Object Provides access to Visual Basic safe arrays.

Home | Top | Website design | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.

Savor the taste of candy sweet bonanza, a delicious adventure