Thursday 8 June 2017

Default value for each type in typescript

Where can I find the default value of each type in typescript? For example, where is mentioned the default value for number type is null or 0.? Or about the string?

The default value means the value of a variable which is defined, but not assigned. Like let a : number;.



via OmG

No comments:

Post a Comment