To add an item to the beginning of an array in JavaScript, you can use the ______ method.

  • push
  • unshift
  • append
  • insert
In JavaScript, you can use the unshift method to add an item to the beginning of an array. The push method adds an item to the end of an array. append and insert are not native array methods in JavaScript.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *