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
2023-09-25 11:52:28
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