April 2018
Beginner
536 pages
13h 21m
English
In JavaScript, the value of the this operator is determined by the way a function or method is invoked. In a method, the this operator usually points to the class instance.
The polymorphic this type is an improved version of the original type inference for the this operator that introduced the following behavior as documented by Anders Hejlsberg: