试题详情
单项选择题varfood=[“eggs”,“milk”,“cookies”];food.splice(1,2,“bread”);执行上面的代码,food的值是()。

A、["eggs","milk","cookies"]

B、["eggs","bread"]

C、["eggs","milk","bread","cookies"]

D、["milk","bread"]

  • B
  • 关注下方微信公众号,在线模考后查看

热门试题