Artificial intelligent assistant

Object.create(Object.prototype);とObject.create({});の違い Object.create(Object.prototype); Object.create({}); … null …



`Object.create({});`


Object.create(Object.create(Object.prototype));




`Object.create(Object.prototype);``prototype``Object.prototype``Object.create({});``prototype``{}``{}``prototype``Object.prototype`


a = {};

b = Object.create(Object.prototype);
a.isPrototypeOf(b); // false
Object.prototype.isPrototypeOf(b); // true

b = Object.create(a);
a.isPrototypeOf(b); // true
Object.prototype.isPrototypeOf(b); // true

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 96ec0f5562abada099c480ca2de75b01