What is the difference between setTimeout and setInterval?
Please select exactly one correct alternative.
Answer
Both functions execute a given function in a given time. But setTimeout only executes this function once, while setInterval schedules a repeating execution.
No comments:
Post a Comment