If a variable declared with const is an object or array, its properties can still be ________.

  • Modified
  • Deleted
  • Reassigned
  • Hidden
In JavaScript, when a variable is declared with const, it means the reference to the object or array is constant, not the actual content. Therefore, you can't reassign the variable, but you can still modify, delete, or add properties to the object or array.
Add your answer
Loading...

Leave a comment

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