What is this keyword?

Ads

 
 

Share on Google+Share on Google+

samar
What is this keyword?
1 Answer(s)      7 years ago
Posted in : JavaScript Questions

What is this keyword?

Ads
View Answers

November 8, 2010 at 3:17 PM


One of the most important concepts to grasp in JavaScript is the use of the this keyword, which is used in object methods. The this keyword always points to the object that is calling a particular method.The "this" keyword is simply a reference to the current object.


Ads









Ads

 
Advertisement null

Ads