Which of the following types of constructor function should be used to initialise the various data elements of different objects with different values when they are created?
Reveal answer
Fill a bubble to check yourself
Which of the following types of constructor function should be used to initialise the various data elements of different objects with different values when they are created?