var obj = {};
console.log(obj instanceof Object);
The instanceof operator in JavaScript is used to determine whether an object is an instance of a particular constructor or class.
In this case, the variable obj has been assigned an empty object.
The instanceof operator is called on obj, with Object as the right operand.
Since obj is an instance of the Object constructor, the instanceof operator will return true.