创建一个原型对象为 null 的对象

index.js

const foo = Object(null);
const bar = Object.create(null);

console.log(foo instanceof Object); // true
console.log(bar instanceof Object); // false
console.log(Object.prototype.__proto__); // null
原文地址:https://www.cnblogs.com/aisowe/p/15245953.html