Tell us about Event Loop: microtasks and macrotasks, execution order.
Frontend
How do you feel about requests inside components?
Is JavaScript single-threaded or multi-threaded? How to start a second thread?
What is your opinion on Atomic CSS?
What is requestAnimationFrame and what does it guarantee?
Tell me about closures. How does the garbage collector work with closures?
Tell us about the previous job — was it more front-end or back-end? What interesting, memorable, complex tasks did you have?
Event Loop task with setTimeout and Promise: determine the order of output to the console.
A classic way to align a div to the center.
What are the more typical tasks at work? How much time does layout, logic writing, review, calls, and dealing with technical debt take?
Regarding testing — does your team of testers and developers cover the code with unit tests? Do developers also write integration and end-to-end tests?
You mentioned SameSite for cookies — what does this setting control?
In what format did responses from the backend arrive and how did you process them (about the psychological testing system with dynamic questions)?
Tell me about storage types: localStorage, sessionStorage, cookie. How do they differ and why are tokens stored in cookies?
What is the difference between __proto__, [[Prototype]], and prototype?
How do variables in preprocessors differ from native CSS variables?
Tell me a little about your previous experience, what you did at your last job. Any interesting cases or what was your role in the team?
Were Checkbox and other question types different components or a single universal one? How did you render them?
In what order are then, catch, and finally executed in a promise chain?
How do CSS modules differ from scoped styles in Vue?