1.

What is getters and setters in TypeScript?

Answer»

In TYPESCRIPT, Getter is the method to OBTAIN the value of a specific property, WHEREAS the setter method is used to SET the value of the specific property.



Discussion

No Comment Found