Skip to content

Glossary: JavaScript Basics

this

A keyword that, inside a method, refers to the object the method was called on. Its value depends on how a function is called, which makes its rules tricky.

Where the book teaches it

Related terms

MethodClass