constBook={price:32}constbook=Object....
发布于 2022-03-03 16:10:04
const Book = {
price: 32
}
const book = Object.create(Book)
book.type = 'Math'
delete book.price
delete book.type
console.log(book.price)
price: 32
}
const book = Object.create(Book)
book.type = 'Math'
delete book.price
delete book.type
console.log(book.price)
console.log(book.type)
执行以上代码后,输出的结果是()
登录后免费查看答案
关注者
0
被浏览
11