Question · JavaScript and TypeScript course · Module 2: Functions, Arrays and Objects

this Context in Constructors

In what context does 'this' point to the newly created object?

Answer options

  • Object method
  • Constructor (new)
  • call/apply/bind
  • Global context (window)
Show the answer

Correct answer:

  • Constructor (new)