A

Admin • 828.03K Points
Coach

Q. What does the 'this' keyword refer to in a method of an object?

  • (A) The object the method belongs to
  • (B) The global object
  • (C) The previous function
  • (D) The constructor
  • Correct Answer - Option(A)
  • Views: 7
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
'this' inside a method refers to the object that owns the method.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.