Go Career
Explore
Pricing
Resources
Login
Get Started
Interview Prep
Back to JavaScript
Advanced JavaScript
24 questions
Questions
1
Question 1
2
Question 2
3
Question 3
4
Question 4
5
Question 5
6
Question 6
7
Question 7
8
Question 8
9
Question 9
10
Question 10
11
Question 11
12
Question 12
13
Question 13
14
Question 14
15
Question 15
Multi
16
Question 16
17
Question 17
18
Question 18
19
Question 19
20
Question 20
21
Question 21
22
Question 22
23
Question 23
24
Question 24
Toggle Sidebar
Back to Advanced JavaScript
Question 18
/
24
advanced
Select one answer
What is the difference between microtasks and macrotasks?
Microtasks are smaller functions, macrotasks are larger
Microtasks (Promises) execute before macrotasks (setTimeout) in the event loop
Macrotasks have higher priority than microtasks
They are the same thing
Premium Question
Upgrade to unlock this question and 300+ more interview prep MCQs.
Upgrade Now
Previous
Back to Advanced JavaScript
Next