Which of the following is true about setInterval(cb, ms) global function?
A - The setInterval(cb, ms) global function is used to run callback cb repeatedly after at least ms milliseconds.
B - The setInterval(cb, ms) method returns an opaque value that represents the timer which can be used to clear the timer using the function clearInterval(t).
C - Both of the above.
D - None of the above.
Ans is C - Both of the above.