9.
Which method can be used to create a new object that inherits properties from an existing object in JavaScript?
Object.create()
Object.extend()
Object.assign()
Object.inherit()
Correct: A
The Object.create() method is used to create a new object that inherits properties from an existing object. The newly created object will have the properties of the original object as its prototype, allowing it to access and inherit those properties.