Concepts
Prototype chain
An object’s internal prototype link connects it to a possible inherited-property source. Lookup of absent own keys can follow successive links until null.
Formal Syntax & Structure
javascript syntaxjavascript
Object.getPrototypeOf(object)Working Example
Example Snippetjavascript
const o=Object.create({n:3});console.log(o.n,Object.hasOwn(o,"n"));