ES6 allows the use of ________ to dynamically create property names in object literals.

  • Template Literals
  • Default Parameters
  • Rest Parameters
  • Spread Operator
Template literals in ES6 provide a powerful way to create strings, allowing dynamic expression evaluation. This feature is often used to create dynamic property names in object literals.
Add your answer
Loading...

Leave a comment

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