要在10秒后调用checkState,下列哪个是正确的( )
(A)window.setTimeout(checkState, 10);
(B)window.setTimeout(checkState(), 10);
(C)window.setTimeout(checkState, 10000);
(D)window.setTimeout(checkState(), 10000);
参考答案
继续答题:下一题
(A)window.setTimeout(checkState, 10);
(B)window.setTimeout(checkState(), 10);
(C)window.setTimeout(checkState, 10000);
(D)window.setTimeout(checkState(), 10000);