51. The object has three object attributes namely
52. Consider the following code snippet :
var book = {
"main title": "JavaScript",
'sub-title': "The Definitive Guide",
"for": "all audiences",
author: {
firstname: "David",
surname: "Flanagan"
}
};
In the above snippet, firstname and surname are
var book = {
"main title": "JavaScript",
'sub-title': "The Definitive Guide",
"for": "all audiences",
author: {
firstname: "David",
surname: "Flanagan"
}
};
53. A linkage of series of prototype objects is called as :
54. Consider the below given syntax
book[datatype]=assignment_value;
In the above syntax, the datatype within the square brackets must be
book[datatype]=assignment_value;
55. To determine whether one object is the prototype of (or is part of the prototype chain of) another object, one should use the
56. Consider the following code snippet
function f() {};
The above prototype represents a
function f() {};
57. The purpose of extensible attribute is to
58. Identify the process done in the below code snippet
o = {x:1, y:{z:[false,null,""]}};
s = JSON.stringify(o);
p = JSON.parse(s);
o = {x:1, y:{z:[false,null,""]}};
s = JSON.stringify(o);
p = JSON.parse(s);