Unlike traditional functions, arrow functions do not have their own __________.

  • this
  • arguments
  • return
  • parameters
Unlike traditional functions, arrow functions do not have their own this binding. In arrow functions, this retains the value of the enclosing lexical context, which makes it useful in cases where you want to maintain the context of the surrounding code, such as in callbacks or when defining functions within functions.
Add your answer
Loading...

Leave a comment

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