1.

The unordered collection of properties, each of which has a name and a value is called _________(a) String(b) Object(c) Serialized Object(d) ArrayThe question was asked in an online quiz.Enquiry is from Object Attributes and Serialization topic in portion Lexical Structures of JavaScript

Answer»

The correct answer is (B) Object

For explanation I would say: OBJECTS in JavaScript may be defined as an unordered collection of RELATED data, of primitive or reference types, in the form of “KEY:value” pairs. Hence each of the PROPERTY has a name and value.



Discussion

No Comment Found

Related InterviewSolutions