append()

Warning

Use array.push(value) instead.

Adds a value to the end of an array. Extends the length of the array by one. Maps to Array.push().

उदाहरण

सिंटैक्स

append(array, value)

पैरामीटर्स

array
Array:

Array to append

value
Any:

to be added to the Array

Returns

Array: the array that was appended to
This page is generated from the comments in src/utilities/array_functions.js . Please feel free to edit it and submit a pull request!

संबंधित संदर्भ