Higher-order functions that alter the execution context of another function are often referred to as __________.

  • Decorators
  • Generators
  • Closures
  • Combinators
Decorators in JavaScript are higher-order functions that alter the behavior or execution context of another function. They are often used to add functionalities to functions or methods.
Add your answer
Loading...

Leave a comment

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