Arrow functions do not have their own this keyword; instead, they ________ the this value from the enclosing execution context.

  • Absorb
  • Inherit
  • Borrow
  • Capture
Arrow functions in JavaScript do not have their own this context. Instead, they inherit the this value from the enclosing execution context. This behavior is different from regular functions, which have their own this binding.
Add your answer
Loading...

Leave a comment

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