题库 软件开发 题目列表 const Book = {   price: 32 } const book = Object.c...
单选题
const Book = {
  price: 32
}
const book = Object.create(Book);
book.type = 'Math';
delete book.price;
delete book.type;
console.log(book.price);
console.log(book.type);
执行以上代码后,输出的结果是()
A.

undefined, undefined

B.

32, undefined

C.

undefined, 'Math'

D.

32, 'Math'

题目信息
校招真题
-
正确率
0
评论
12
点击