What is the purpose of the constructor method in a JavaScript class?
Initializes the class
Defines private methods
Creates a new instance of the class
Sets up properties for the class object
This question is part of this quiz :