Create a new array of online users by adding a DTO with department data to each object.
Frontend
If you add React.StrictMode to this component, will the output order in the console change?
How to perform deep cloning of an object in JavaScript? What options are available, which one would you choose and why?
What is Vue nextTick and how does it differ from requestAnimationFrame?
What is the HttpOnly flag in a cookie?
What CSS property does [name] use to raise a positioned block above another?
How do var and let differ?
What other frameworks besides React have you used?
Why isn't product filtering by categories working? Find and fix the reason.
Were there overly long and unreadable Tailwind CSS class strings? Did you extract them into separate variables?
When sending a modified document, the server returns a CORS error: the current origin does not have access. What will you check and how will you solve the problem?
Authorization code component Summary AuthCodeInput is a 6-character authorization code input used for 2FA-style flows. It renders six single-character fields, and integrates with a backend to validate the entered code. User story As a user, I want to enter a 6-character authorization code and submit it, so that I can verify my identity in a familiar 2FA-style flow. Anatomy - 6 input fields aligned in a row (single character per field) - In the middle of the input fields, render a dash (-) Core behavior Inputs - Each of the 6 fields accepts a single character. - Only digits 0–9 and letters A-Z are allowed. - Typing a valid character: o Stores the character in the current field. o If the entered character is in lowercase, it must uppercase it automatically. o Automatically focuses on the next field. - OTP completeness: o The component considers the value “complete” only when all 6 fields are filled.
What do you know about the order of script connection and execution: regular script, async, and defer?
Have you worked with SSR?
Is the expression Number(10) === 10 true?
Tell about the team: how many front-end developers, how do you interact, how do you release features into production, and how often do releases happen?
What is the time complexity of the proposed algorithm if there are n strings in the array and the maximum length of a string is m?
Are corporate events held, and is travel to Moscow compensated for participation?
Why did you decide to leave the company and what do you consider when looking for a new job?
Implement an asynchronous task queue with concurrency limit: tasks are first added to the queue, then started by the loop method; no more than a specified number of tasks should run simultaneously. When all queued and running tasks are finished, notify about queue completion.