Question: 21. Defining a variable as an Object Literal (Eg: var p-accomplishes pretty much the same thing as defining a variable equal to'new Object. Is it





21. Defining a variable as an Object Literal (Eg: var p-accomplishes pretty much the same thing as defining a variable equal to'new Object. Is it faster and easier to type up an object literal? Which one should we use and why? Explain. 4 Marks
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
