Explore Library
Flashcard

Closures vs. the `this` Binding

Closures capture lexical variables, but `this` is set by how a function is called—unless it's an arrow function.

Question

Does a closure capture `this` the same way it captures other variables?

Click to reveal answer