1.

How many properties does a prototype object have?(a) 6(b) 7(c) 8(d) 9This question was posed to me in examination.My enquiry is from Integrating the Performance Object with perfLogger topic in portion Invocation and Performance Navigation of JavaScript

Answer» RIGHT option is (b) 7

For explanation I would say: The prototype is an object that is associated with every functions and objects by DEFAULT in JAVASCRIPT, where function’s prototype property is accessible and modifiable and object’s prototype property (aka attribute) is not VISIBLE. There are a total of 7 properties in the prototype object namely:

perceivedTime

redirectTime

cacheTime

dnsLookupTime

tcpConnectionTime

roundTripTime

pageRenderTime.


Discussion

No Comment Found

Related InterviewSolutions