.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
The value to push into the array
Returns
Description
The updated data from the provided key's root