1.

Which of the following property indicate the total size of the heap?(a) heapSize(b) totalHeapSize(c) totalJsHeapSize(d) totalHeapThe question was asked in an interview.The query is from Performance Navigation and Memory topic in chapter Invocation and Performance Navigation of JavaScript

Answer»

The correct answer is (C) totalJsHeapSize

To explain I would SAY: usedJsHeapSize stores an object CREATED with MemoryInfo constructor, CONTAINING jsHeapSizeLimit, totalJSHeapSize and usedJSHeapSize properties with numerical VALUES.



Discussion

No Comment Found

Related InterviewSolutions