17.
Which of the following methods can be used to create objects with specified prototypes in JavaScript?
Object.create()
Object.assign()
Literal notation
Constructor function
Correct: A
The Object.create() method is used to create a new object with the specified prototype. This allows you to create objects that inherit properties and methods from other objects. The other options, Object.assign(), Literal notation, and Constructor function do not directly manipulate prototypes.