Optional property class in typescript

0 votes

I'm new in typescript and I want to know what is the utility of optional property class in typescript? And what is the difference between:

a?: number;

a: number | undefined;
Aug 3, 2022 in TypeSript by Abhinaya
• 1,160 points

edited 4 days ago 87 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP