smallcase interview question

Questions based on event loop and javascript