JS: Object.getPrototypeOf
Object.getPrototypeOf(obj)
-
Return the parent of object obj.
If obj is not a object, it is converted to object first.
To not implicitly convert, use Reflect.getPrototypeOf.
Object.getPrototypeOf({}) === Object.prototype