Pregunta de entrevista de AdPushup

How will you implement setInterval function by just using setTimeout?