+ 31
explain "this" keyword in javascript !!! ???
4 ответов
+ 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