samar
What is this keyword?
1 Answer(s)      4 years and 9 months ago
Posted in : JavaScript Questions

What is this keyword?

Advertisement
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.