Menu
×
×
Correct!
Exercise:Specify that the second property, called model, should be optional:
const car: { type: string, @(6): string } = {
type: "Toyota"
};
const car: { type: string, model?: string } = {
type: "Toyota"
};
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 30 exercises.
Are you sure you want to continue?