Javascript Basics - Strict Mode "this" keyword behavior

Опубликовано: 28 Июнь 2026
на канале: JSsifu
225
8

In Javascript strict mode, "this" is not defined in global scope.

03:14 using strict mode inside a function

Without strict mode, this will refer to the global object. In the browser, the global object is the browser; in Node environment, the global object is the Node environment.

strict mode can also be used inside function.