.push()
Pushes an element into an array based on the provided key.
Last updated
Pushes an element into an array based on the provided key.
Last updated
Parameter
Description
key
The key of the target array
value
Any
The value to push into the array
Returns
Description
Any
The updated data from the provided key's root