Menu
×
×
Correct!
Exercise:Add the correct types for the object below:
const car: { type: @(6), model: @(6), year: @(6) } = {
type: "Toyota",
model: "Corolla",
year: 2009
};
const car: { type: string, model: string, year: number } = {
type: "Toyota",
model: "Corolla",
year: 2009
};
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 30 exercises.
Are you sure you want to continue?