JsUnit
Project Developer Home doxygen

Public Member Functions | List of all members
Array Class Reference

Standard ECMA class. More...

Inheritance diagram for Array:
Inheritance graph
Collaboration diagram for Array:
Collaboration graph

Public Member Functions

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

Detailed Description

Standard ECMA class.

Constructor & Destructor Documentation

void Array::Array ( )

Member Function Documentation

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
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

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 Wed Apr 15 2015 02:33:06 for JsUnit by doxygen 1.8.5