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

1st JavaScript Editor.


shift Method

Removes the first element from an array and returns it.

arrayObj.shift( )

The required arrayObj reference is an Array object.

Remarks

The shift method removes the first element from an array and returns it.

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

1st JavaScript Editor.