When creating a multidimensional array in JavaScript, each element of the main array is ______.

  • an object
  • a reference
  • a function
  • a prototype
When creating a multidimensional array in JavaScript, each element of the main array is a reference to another array or value. This allows for the creation of nested arrays. Changes made to the referenced arrays will affect the main array.
Add your answer
Loading...

Leave a comment

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