What is the correct syntax to create a new object ‘car’ with the following attributes?
Color = red
Model = 2016
Weight = 500kg
Correct Answer: var car = {color:”red”, model:”2016”, weight:”500kg”};
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More JavaScript MCQ Questions