The Simple Guide to “This” in JavaScript
Published in
7 min readJun 21, 2019
The last guide you will ever need for understanding this
in JavaScript. We will explore what this
is, and how to determine what it points to.
Table of Contents
— Prerequisites
— Definitions
— — Basics of This
— Examples of This
— — Default This Binding
— — Implicit Binding
— — Explicit Binding
— — Explicit Binding via Arguments
— — Lexical Binding…