List.unshift method

This topic has not yet been rated - Rate this topic

Appends new element(s) to a list, and returns the new length of the list.

Syntax


var number = list.unshift(value);

Parameters

value

Type: Object

The element to insert at the start of the list.

Return value

Type: Number

The new length of 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.