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

Is javascript server side or client side?

0 Answers  


Write the point of difference between web-garden and a web-farm?

0 Answers  


How do you submit a form using JavaScript?

0 Answers  


Can javascript code be broken in different lines?

0 Answers  


Explain how to read and write a file using javascript?

0 Answers  


What is the difference between synchronous and asynchronous JavaScrip

1 Answers  


List out the different ways an HTML element can be accessed in a Javascript code?

0 Answers  


How many types of javascript are there?

0 Answers  


What is the similarity between the 1st and 2nd statement?

0 Answers  


How you can modify XAML content from JavaScript in Silverlight?

0 Answers  


What is a named function in JavaScript? How to define a named function?

0 Answers  


What is namespacing in javascript and how is it used?

0 Answers  


Categories