Vidyalelo
JavaScript · Q49

Caching And Debugging

Programming · JavaScript · question 49

Q49

Which of the following is a way to retain an object in memory?

A.
Console Log
Answer
B.
Closures
C.
Destory objects
D.
All of the mentioned

Answer: Option A

Solution

Answer: Option A
Solution:
One particularly obscure way to retain an object in memory is to log it to the console.