Question: Explain when you would use an object literal and when you would create a constructor function.
Explain when you would use an object literal and when you would create a constructor function.
Step by Step Solution
3.30 Rating (168 Votes )
There are 3 Steps involved in it
The main difference between creating an object with a... View full answer
Get step-by-step solutions from verified subject matter experts
