which method is used to add new element to an array
Answers
Answered by
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
Economy,
3 months ago
Social Sciences,
3 months ago
History,
6 months ago
Physics,
1 year ago
Biology,
1 year ago