Which of the following is a way to retain an object in memory?
A
Console Log
B
Closures
C
Destroy objects
D
Clear object
Correct Answer: Console Log
Any object inside the timer will hold a reference in order to run that piece of code somewhere in the future without any problems. One particularly obscure way to retain an object in memory is to log it to the console.