Answer Posted / 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 View All Answers
Where can I learn javascript?
name any two javascript functions which are used to convert nonnumeric values into numbers?
What is arguments object in JavaScript?
How will you get the checkbox status whether it is checked or not?
Where do I put javascript code in html?
What is the microsoft version of javascript?
Is javascript a highly secure scripting language?
How to prevent modification of an object in Javascript?
What is stack queue?
Does javascript support automatic type conversion, if yes give example.
Where do you put javascript in html?
What is Unobtrusive JavaScript & Why it's Important?
Who created npm?
Event bubbling and Event Capturing in JavScript?
How to achieve inheritance in javascript?