Object.getPrototypeOfintermediate// Get the prototype of an object
const arr = []
Object.getPrototypeOf(arr) === Array.prototype // β true
Object.getPrototypeOf({}) === Object.prototype // β trueUse Object.getPrototypeOf() to retrieve the prototype of an object, allowing you to inspect its inheritance chain.
Functions are objects too. The prototype of a function is Function.prototype.
Challenge: Implement fnProtoIsFunctionProto() that returns whether the prototype of a function is Function.prototype.
fnProtoIsFunctionProto() // β true