1.

What does the usedJsHeapSize property indicate?(a) Amount of memory used(b) Amount of memory unused(c) Amount of memory used & unused(d) Amount of memory required

Answer» Correct answer is (a) Amount of memory used

To explain I would say: usedJsHeapSize returns an object of type ObjectObject. An object created with MemoryInfo constructor, containing jsHeapSizeLimit, totalJSHeapSize and usedJSHeapSize properties with numerical values. The usedJsHeapSize property is the amount of memory that all of the current objects in the heap are using.


Discussion

No Comment Found

Related InterviewSolutions