Q46.webp
N

Q46.webp

Kizspy Question: 46
(Choose 1 answer)
Which is wrong statement about the different between setImmediate() and setTimeout()?
A. setlmmediate() schedules the callback function to run immediately after the current event loop iteration,
regardless of the delay specified.
B. setTimeout() schedules the callback function to run after a specified delay, which can be zero (i.e.,
immediately) or a positive integer representing the number of milliseconds to wait.
C. If both setTimeout() and setImmediate() are called in the same loop iteration, setTimeout() will be executed
before setlmmediate ().
D. None of the above

Thông tin

Category
SDN302
Thêm bởi
Ngọc Lan1
Ngày thêm
Lượt xem
2,486
Lượt bình luận
12
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom