In this example, what is the TYPE of employee.functions?
{ "employee" : { "type" : "Director", "functions" : ['sales', 'marketing'] } }
String
Object
Array
Sales, Marketing
Correct Answer : C
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
The object has three object attributes namely