Because it basically asks whether Object.prototype does inherit from Object's .prototype object: It does not.
a instanceof b is equivalent to b.prototype.isPrototypeOf(a) - it tests whether b.prototype is in the prototype chain of a. In your case, it is not in the chain, because it is the start of the chain itself. isPrototypeOf is not reflexive.
Referencing MDN:
Because it basically asks whether
Object.prototype
does inherit fromObject
's.prototype
object: It does not.a instanceof b
is equivalent tob.prototype.isPrototypeOf(a)
- it tests whetherb.prototype
is in the prototype chain ofa
. In your case, it is not in the chain, because it is the start of the chain itself.isPrototypeOf
is not reflexive.