Vidyalelo
JavaScript · Q46

Caching And Debugging

Programming · JavaScript · question 46

Q46

Which of the following functions are referenced internally?

A.
setTimeout
B.
setInterval
C.
both setTimeout and setInterval
Answer
D.
none of the mentioned

Answer: Option C

Solution

Answer: Option C
Solution:
Functions used in setTimeout/setInterval are referenced internally and tracked until complete, then cleaned up.