Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

SetInterval Edge Case

MediumCoding00:00
Practice interviewer
In session
5 left
00:00

Your question is SetInterval Edge Case. Take a moment with it on the right.

Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).

You need to log in / sign up to chat or submit.

Problem

Tell me about a setInterval-related JavaScript behavior where you expected 1,2,3,4,5 but got 5,5,5,5,5.