typescript fat arrow notice

One important feature of the => syntax is that it shares the same this as the surrounding code. This
is important and different than what happens when you normally create a function in Javascript.
Generally when you write a function in Javascript that function is given its own this .

(from ng-book 2)

Leave a Reply

Your email address will not be published. Required fields are marked *