Question
var book = {
"main title": "JavaScript",
'sub-title': "The Definitive Guide",
"for": "all audiences",
author: {
firstname: "David",
surname: "Flanagan"
}
};
a.
properties
b.
property values
c.
property names
d.
objects
Posted under JavaScript
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Consider the following code snippet. In the snippet, firstname and surname are
Similar Questions
Discover Related MCQs
Q. A linkage of series of prototype objects is called as :
View solution
Q. Consider the below given syntax:
book[datatype]=assignment_value;
In the above syntax, the datatype within the square brackets must be
View solution
Q. To determine whether one object is the prototype of (or is part of the prototype chain of) another object, one should use the
View solution
Q. Consider the following code snippet
function f() {};
The above prototype represents a
View solution
Q. The purpose of extensible attribute is to
View solution
Q. The basic purpose of the toLocaleString() is to
View solution
Q. JavaScript is designed for following purpose
View solution
Q. We can embed JS code inside HTML directly ?
View solution
Q. JavaScript Code can be called by using _________.
View solution
Q. JS code included inside head section is loaded before loading page.
View solution
Q. It is good to include JS code inside footer section in order to speed up the Page loading time of Webpage.
View solution
Q. Which attribute is used to specifies that the script is executed when the page has finished parsing (only for external scripts)
View solution
Q. JavaScript was invented at _______ Lab.
View solution
Q. Java Script Variable should be Case ___________.
View solution
Q. Underscore can be used as first letter while declaring variable in JavaScript.
View solution
Q. Variable declared inside JavaScript Function will be called as ____________.
View solution
Q. Local Variables are destroyed after execution of function.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond JavaScript? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!