A

Admin • 802.91K Points
Coach

Q. Which statement is true for arrow functions?

  • (A) They bind their own 'this'
  • (B) They use lexical 'this'
  • (C) They are block-scoped
  • (D) They must use function keyword
  • Correct Answer - Option(B)
  • Views: 12
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
Arrow functions do not bind their own this; they inherit from parent.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.