object prototype inherts prototype code example Example: access the prototype of an object javascript Object.getPrototypeOf(x); //Output ƒ () { [native code] }