Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is this in JavaScript?



What is this in JavaScript?..

Answer / hr@tgksolutions.com

this refers to the object that is executing the current function.
• In the global scope, this refers to window (in browsers).
• Inside an object method, this refers to the object itself.
• Inside an arrow function, this is lexically bound (inherits from the surrounding scope).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JavaScript Interview Questions

what is onfocus and onblur events in java script?

2 Answers  


What does the term sticky session mean in a web-farm scenario? Why would you use a sticky session? What is the potential disadvantage of using a sticky session?

0 Answers  


Is a function an object?

0 Answers  


How onclick works in javascript?

0 Answers  


Is javascript frontend or backend?

0 Answers  


What is the use of 'bind' method in JavaScript?

0 Answers  


What are Cookies in Javascript?

0 Answers  


What does polyfill mean?

0 Answers  


How to get value from radiobuttonlist control?

0 Answers  


What do you mean by ide?

0 Answers  


Why is javascript called richer interface?

0 Answers  


What is difference between module.exports and export?

0 Answers  


Categories