this in the Global Context

JavaScript's this mechanism behaves a little differently compared to other languages. When used in the global context (outside of any function), this refers to the global object. This lesson highlights the different behavior between Node and the browser.

Please take a moment to tell your friends:

You must be a PRO Member to view code