Yes, Object.create builds an object that inherits directly from the one passed as its first argument. With constructor functions, the newly created object inherits from the constructor's prototype, e.g.
The newly create object will inherit all the prototyope object properties. You can specify a second parameter to add new properties to the object, that the prototype lacked
The Object.create() method creates a new object, using an existing object as the prototype of the As we know Object.create() method has two parameters. A first parameter is a mandatory object that...