Skip to main content
List.concat method

Applies to Windows and Windows Phone

Returns a new list consisting of a combination of two arrays.

Syntax


var array = list.concat(item);

Parameters

item

Type: Object

Additional items to add to the end of the list.

Return value

Type: Array

An array containing the concatenation of the list and any other supplied items.

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