Appendix JS: General JavaScript Functions

This section offers a brief introduction to common JavaScript language constructs and typical usage. It is not a reference docu­ment for JavaScript. For more detailed information on JavaS­cript, please consult the ECMA-262 speci­fication or a JavaS­cript book. You can also find information on JavaScript syntax and constructs on the Mozilla web site.

JavaScript is an object-oriented programming language for performing computations and manipulating computational objects within a host environment. An object is a collection of properties and functions. A property can be a primitive type, a host object type, or a Java object.

The primitive types are standard in every JavaScript runtime and are independent of the host environment. These primitive object types include the following:

Global Object Functions

String Object Functions

Number Object Functions

Date Object Functions

Array Object Functions

Math Object Functions

Regular Expression Object Functions

In addition to the primitive types, this Appendix describes a number of other functions and JavaScript constructs. Some of these functions require knowledge of JavaScript arrays. See Array Object Functions for information on how to use arrays. Columns within a table or Data Worksheet can also be treated as arrays.

See Also

Style Intelligence Object Reference, in Report Scripting, for more objects in a reporting environment.

Accessing Table Cells in Script, in Data Mashup, for information on scripting for Worksheets.

Dashboard Scripting, for information on scripting for Viewsheets.

<< Common Function Reference © 1996-2013 InetSoft Technology Corporation (v11.5) JS.1 Global Object Functions >>