JsUnit 1.3
Project Developer Home doxygen

Array Class Reference

Inheritance diagram for Array:

Inheritance graph
[legend]
List of all members.

Detailed Description

Standard ECMA class.


Public Member Functions

void Array ()
Object push ()
 Pushes elements into Array.
Object pop ()
 Pops last element from Array.


Constructor & Destructor Documentation

void Array::Array (  ) 


Member Function Documentation

Object Array::push (  ) 

Pushes elements into Array.

The function is an implementation of the Array::push method described in the ECMA standard. It adds all given parameters at the end of the array.

The function is active if the ECMA implementation does not implement it (like Microsoft JScript engine up to version 5.5).

Returns:
Number of added elements

Object Array::pop (  ) 

Pops last element from Array.

The function is an implementation of the Array::pop method described in the ECMA standard. It removes the last element of the Array and returns it.

The function is active if the ECMA implementation does not implement it (like Microsoft JScript engine up to version 5.5).

Returns:
Last element or undefined


The documentation for this class was generated from the following file:
JsUnit © 1999, 2000, 2001, 2002, 2003, 2006, 2007 by Jörg Schaible
Generated on Fri Oct 19 23:10:42 2007 for JsUnit by doxygen 1.5.2