Answer & Solution
Answer: Option B
Solution:
The 'constructor' method in a JavaScript class is used to initialize the class properties when new instances of the class are created. It is automatically called when you create a new object from the class. Therefore, option B, 'To initialize class properties', is correct for explaining the purpose of the 'constructor' method in a JavaScript class.