单项选择题

JavaScript使用哪个方法在一个设定的时间间隔之后来执行代码?

A、clearTimeout()
B、setTimeout()
C、setInterval()
D、clearInterval()
微信扫码免费搜题