Question 18
Which of the following statements about the "this" keyword in JavaScript are correct?
In a regular function, "this" is always bound to the global object (window in browsers)
In an arrow function, "this" is inherited from the enclosing lexical scope
The .call() method can be used to explicitly set the context of "this" in a function
In a method called on an object, "this" always refers to that object regardless of how the function is defined