Vidyalelo
JavaScript · Q32

Invocation And Performance Navigation

Programming · JavaScript · question 32

Q32

What is a heap in JavaScript?

A.
Collection of Java objects
B.
Collection of JavaScript objects
Answer
C.
Collection of memory usage values
D.
Collection of data stored in memory

Answer: Option B

Solution

Answer: Option B
Solution:
The heap is the collection of JavaScript objects that the interpreter keeps in resident memory.