TypeScript Jump Start

Play TypeScript Jump Start

The Discussion

  • User profile image

    With nearly 1200 views, I'm surprised no one noticed that the constructor for the Car class was mistyped as "contructor". Which meant it became an ordinary method. Which was lucky in a way, since that constructor code wasn't actually used in the demo code as the properties were being assigned to directly after creating a Car instance.

    (There's also a typo in the second slide or so: "complier". Similar typos elsewhere as well: an easy exercise for the viewer to spot them all.)

  • User profile image

    Thanks for these corrections. sorry for the typos in the slides. will fix it.

Add Your 2 Cents