参考 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 to append

value

to be added to the Array

Notice any errors or typos? Please let us know. Please feel free to edit src/utilities/array_functions.js and open a pull request!

相关参考