For some reason I came across a case where Chrome's V8 seems to think that an object is not actually an Object. I can't reproduce this easily but basically I have this code segment:
if (!(obj instanceof Object)) {
console.log(obj);
}
And yet chrome's console shows that it is in fact an Object... Does anyone know what could possibly cause this? How can I reproduce this?
WHen I use the typeof operator, it correctly identifies it as an object.
console.log(obj)show?obj?