How does the void type differ from never in TypeScript?
Frontend
Have you worked with classes in TypeScript?
There is an input where the user enters a value. It is necessary that upon page reload, the entered value is saved in this input. Describe the solution and write code using localStorage.
What is the type of the input element in TypeScript if you get it through querySelector?
What is your architecture for frontend projects (e.g., FSD or other)?
What is an abstract class?
Tell about yourself and your work experience (tech stack, projects, companies).
What is the difference between the DOMContentLoaded and load events? When should each be used?
What is CORS and what is it used for? How to allow requests from all sources?
Write types for the reduce function using generics (for array, callback, and result).
What is a Union type in TypeScript?
Do you have grooming tasks? Who is responsible for describing development tasks?
Given a function and two objects for testing. Why does TypeScript not complain in one case, but does in the other? Explain the reason for each line with an error.
Given an object with a getName method, what will be output on lines 12, 13, and 14 with different ways of calling the function?
What HTTP headers can be in a response?
What is the difference between event.target and event.currentTarget?.
How large is the company you work for? How many people are in the IT department?
How do you personally assess your level (grade) — junior, middle, or senior?
What brought you to us? Why did you decide to interview at our company?
What is the context (this) in JavaScript?