What is the command to access the Heap size limit?

Hằng Đoàn

New member
What is the command to access the Heap size limit?
A. performance.memory. SizeLimit
B. performance.memory. jsHeapSizeLimit
C. jsHeapSizeLimit
D. performance.jsHeapSizeLimit
 
Answer: b
Explanation: Memory contains an object created with MemoryInfo constructor, containing jsHeapSizeLimit, totalJSHeapSize and usedJSHeapSize properties with numerical values. The command performance.memory. jsHeapSizeLimit is used to access the Heap size limit.
 

Tìm kiếm

Back
Top