List.shift method

This topic has not yet been rated - Rate this topic

Removes the first element from a list and returns it.

Syntax


var object = list.shift();

Parameters

This method has no parameters.

Return value

Type: Object

The first element from the list.

Requirements

Namespace

WinJS.Binding

Library

Base.js

See also

List

 

 

Build date: 12/5/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.