section3. How Javascript Works Behind the Scene





The ‘This’ Variable

  • Regular function call : the this keyword points at the global object( the window object, in the browser).

  • Method call : the this variable points to the object that is calling the method.

  • The this keyword is not assigned a value until a function where it is defined is actually called.



댓글 남기기

Close Menu