EP 2.10 - Angular / ES6 & TypeScript / Classes & Interface

Publié le: 26 décembre 2018
sur la chaîne: jawache
9,792
61

📚 Read the book 👉 https://go.asim.dev/angular-book
🔥 Level up your JavaScript 👉 https://go.asim.dev/advjs
🌿 If you find my videos useful please consider planting a tree for me 👉 https://go.asim.dev/trees
🎥 Watch the full playlist 👉 https://go.asim.dev/angular-playlist

The best place to view the code associated with this course is in the online book (https://go.asim.dev/angular-book) via the book if a lecture has code associated with it, it then also has a link to a stackblitz instance so you can run and edit the code sample online.


In ES6 we now have a new way of writing object-oriented code with the class syntax.
We can inherit methods and properties of one class into another by using the extends keyword.

Under the hood, we are still using prototype-based inheritance but the syntax is easier to understand and more familiar for developers who are coming from other languages.

TypeScript adds some extra functionality on-top of ES6 classes such as access modifiers and interfaces


Sur cette page du site, vous pouvez voir la vidéo en ligne EP 2.10 - Angular / ES6 & TypeScript / Classes & Interface durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur jawache 26 décembre 2018, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 9,792 fois et il a aimé 61 téléspectateurs. Bon visionnage!