What is an array unshift method?

JavaScript Array unshift () Method 1 Definition and Usage. The unshift () method adds new items to the beginning of an array, and returns the new length. Note: This method changes the length of an array. 2 Browser Support. The numbers in the table specify the first browser version that fully supports the method. … 3 Syntax 4 Parameter Values 5 Technical Details
For More Information Please Refer:
https://www.w3schools.com/jsref/jsref_unshift.asp
You May Also Like to Read: