Correct Answer: var obj = { prop1: 'property 1', prop2: 'property 2' };
Explanation:
Note: This Question is unanswered, help us to find answer for this one
JavaScript Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More JavaScript MCQ Questions
The 'this' keyword refers to ...
The length property of an Array object is always:
Is there a value type for individual string characters?
Value of `x` after the following? var x = 'hello'; (function() { x = 'goodbye'; }());
What is the value of x after the following statement? var x = 1 == '1'
A(n) ____ statement is used to end the execution of a switch statement.
A(n) ____ is a variable that is used within a function.
Javascript requires _____ programming knowledge and experience as java.
Methods that set values are called ____ methods.
The ____ function converts all of the letters in a string to capital letters.
JavaScript MCQs | Topic-wise