Class constructors & ‘readOnly’ property | TypeScript Tutorial

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

You will learn about a special class function called constructor here. You will see how it is different from other class methods.
There are instances where you do not want the value of a variable to change. No, they are not constants, but class members. Learn how to define these special properties in this lesson.

00:00 What are constructors
00:45 Adding constructors to class
01:25 Calling super constructors
03:13 Readonly property

.
.
Please donate and support my work
(If you think my free tutorials are better than paid ones :)

Free Programming courses:

Free Flutter course:

Free Android courses:

More free programming courses:

Check out my website:

Let's get in touch! [Sriyank Siddhartha]

---- Thank you for your love and support ----
Рекомендации по теме
welcome to shbcf.ru