What is unshift method in JavaScript?

0

Unshift method is like push method which works at the beginning of the array. This method is used to prepend one or more elements to the beginning of the array

asked Apr 14, 2023 at 19:30
Sign in to add a comment

0 Answers

0
📝 No answers yet!

Be the first to answer this interview question.

Your Answer

Sign in to post your answer and help the community.