pop method

List.pop method

Applies to Windows and Windows Phone

Removes the last element from a list and returns it.

Syntax


var object = list.pop();

Parameters

This method has no parameters.

Return value

Type: Object

The last element from the list.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Binding

See also

List

 

 

Show:
© 2016 Microsoft