In ES6, you can directly assign ________ to object properties without repeating the variable name.

  • Destructuring
  • Shorthand Notation
  • Computed Property Names
  • Arrow Functions
In ES6, destructuring allows you to directly assign values from objects or arrays to variables, making code concise and readable. Shorthand notation is commonly used for this purpose.
Add your answer
Loading...

Leave a comment

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