What is unshift method in JavaScript?

Asked: Apr 14, 2023

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 by brijesh

Answers (0)

No answers yet. Be the first to answer!