Menu
×
×
正确
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
};
不正确
点击 此处 重试 正确
下一题 ❯const car: { type:w3exercise_input_no_0, model:w3exercise_input_no_1, year:w3exercise_input_no_2} = { type: "Toyota", model: "Corolla", year: 2009 }; |