1.

How many properties are available in a memory object?(a) 1(b) 2(c) 3(d) 4The question was posed to me in an online quiz.The question is from Performance Navigation and Memory topic in portion Invocation and Performance Navigation of JavaScript

Answer»

Right answer is (C) 3

Best explanation: Advanced JavaScript APPLICATION features such as caches and UNDO buffers need to know the memory consumption of objects in ORDER to function effectively. There are a total of 3 memory objects namely:

jsHeapSizeLimit

totalJsHeapSize

usedJsHeapSize.



Discussion

No Comment Found

Related InterviewSolutions