레퍼런스 append()

append()

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
Notice any errors or typos? Please let us know. Please feel free to edit src/utilities/array_functions.js and open a pull request!

관련 레퍼런스