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

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.Binding

Library

Base.js

See also

List

 

 

Show:
© 2014 Microsoft