TypeScript Deep Dive - Functions | JSer - Front-End Interview questions

preview_player
Показать описание

Functions in TypeScript. Type inference is very powerful
And overload is a must-to-know.

Hi I'm a JavaScript engineer who is not good at algorithms,
and currently practicing leetCode & BFE.dev. If you are interested, maybe we can learn together.
Рекомендации по теме
Комментарии
Автор

11:00 you are 100% correct. *_this_* is bound to whichever object that calls the *_createCardPicker()_* method and this is not always the *_deck_* object itself. If *_deck2.foo_**_ = deck.createCardPicker_* then *_this_* would point to *_deck2_* not *_deck_*

phuongtk