Static method Object.create()
The Object.create()
static method creates a new
object, using an existing object as the prototype
of the newly created object.
The Object.create()
static method creates a new
object, using an existing object as the prototype
of the newly created object.