创建一个不含原型对象的对象

index.js

const specialObj = Object.create(null);
console.log(specialObj.__proto__); // undefined

posted on 2021-09-09 10:35  aisowe  阅读(275)  评论(0编辑  收藏  举报

导航