QuizBeginner
Inline Object Type Annotations
You can annotate a variable with an inline object shape listing its properties and types.
How do you annotate a variable to hold an object with a name (string) and age (number)?
You can annotate a variable with an inline object shape listing its properties and types.
How do you annotate a variable to hold an object with a name (string) and age (number)?