单项选择题

在JavaScript中,下列哪个方法可以设置在指定若干毫秒后要调用一次的函数()

A.setInterval()
B.setTimeout()
C.clearTimeout()
D.clearInterval()