다음을 통해 공유


List.shift method

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

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Binding

See also

List