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
how to write frame work Architecture in QTP
What are .js files?
how do you declare variables in javascript?
How to get complete current page url with javascript?
Is there any class in javascript?
What is lambda in programming?
How do I link an external javascript file to html?
What is scope chain in javascript?
What is meant by object oriented programming?
what is pop()method in JavaScript?
In Javascript are calculations with fractional numbers guaranteed to be precise?
Is javascript object a hash table?
What is whitespace in javascript?
How to count the number of element in an array using javascript?
How to get the type of arguments passed to a function?