js录入编程题,我要输入这种类型的数组,输入值类型该怎么选?
[ null, 8, "tom", undefined,
{type: "product",
content: "product1",
},
{
type: "product",
content: "product2",
},
{
type: "tag",
content: "tag1",
},
{
type: "product",
content: "product3",
},
{
type: "tag",
content: "tag2",
},
]#JavaScript#