Computer Science, asked by mbrreddy101, 4 months ago

which method is used to add new element to an array​

Answers

Answered by Anonymous
0

Answer:

here's ur answer dude

Explanation:

array unshift method

The array unshift method is used to add elements to the beginning of an array. It accepts multiple arguments, adjusts the indexes of existing elements, and returns the new length of the array. The unshift method modifies the array on which it is invoked.

hope it helps

Similar questions