Frontend interview questions
JavaScript, TypeScript, React, CSS, browser performance and accessibility.
359 questions · 29 topics · 58 free answers
0 of 359 practised · 0 bookmarked · saved on this device
19 questions match
JavaScript internals#1What does typeof null return and why?EasyConceptJavaScript internals Pro answer
This answer is part of Pro
10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.
#2What is the difference between null and undefined?EasyConceptJavaScript internals Pro answer
This answer is part of Pro
10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.
#3What is the event loop and how are microtasks and macrotasks ordered?MediumConceptJavaScript internals Pro answer
This answer is part of Pro
10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.
#4What is the output order of a setTimeout of 0, a resolved promise then and synchronous code?MediumConceptJavaScript internals Pro answer
This answer is part of Pro
10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.
#5How does this work in regular functions, arrow functions and with bind?MediumConceptJavaScript internals Pro answer
This answer is part of Pro
10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.
#6What is a closure and give a common use?MediumConceptJavaScript internals Pro answer
This answer is part of Pro
10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.
#7What is prototypal inheritance?MediumConceptJavaScript internals Pro answer
This answer is part of Pro
10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.
#8What does Promise.all do compared with allSettled, race and any?MediumConceptJavaScript internals Pro answer
This answer is part of Pro
10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.
#9What are the differences between async/await and promise chains in error handling?MediumConceptJavaScript internals Pro answer
This answer is part of Pro
10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.
#10What are WeakMap and WeakSet for?MediumConceptJavaScript internals Pro answer
This answer is part of Pro
10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.
Hunting for a Frontend role too? See open Frontend jobs.