+ 31
explain "this" keyword in javascript !!! ???
4 Answers
+ 26
thanks bro
+ 14
In JavaScript this always refers to the âownerâ of the function we're executing, or rather, to the object that a function is a method of. When wedefine our faithful function doSomething() in a page, its owner is the page, or rather, the window object (or global object) of JavaScript.
https://www.w3schools.com/js/js_object_definition.asp
-Google
+ 12
welcome