What methods can be used to clone an object in JavaScript?
Frontend
If you copy an object using Object.assign and its property references another object, will this be a deep or shallow copy? If you change the nested profile in one object, will it change in the other?
The application constantly throws exceptions that need to be categorized by meaning and domain logic, such as domain errors and connection errors. How would you solve this with a functional approach?
How do you work with legacy code: do you fix it or rewrite it?
How does the JavaScript execution environment in the browser differ from Node.js?
Do you use CSS or preprocessors? Which is better: plain CSS or a preprocessor? Where can loops be applied in a preprocessor and what are its disadvantages?
How many micro-frontends were in the system?
What state managers have you used on the project? How do data from Pinia appear on the page?
What is localStorage, where does it come from, and is it available in Node.js?
What motivates and demotivates you at work?
What values can be stored in JSON? Can functions be stored there?
How did you solve technical SEO, increase loading speed, and optimize for traffic?
Tell me more about CI/CD: how was deployment carried out and how many environments were there?
How is code from ten developers consolidated into one micro frontend? Is there someone coordinating the changes?
In the provided code fragment, what happens when converting values to boolean and what is this process called?
Where were the Playwright tests located: in the same repository or separately?
Tell us about your last workplace and your experience with Vue and TypeScript: what did you do from scratch, and what complex or interesting tasks did you solve?
Did you do analytics? How did you implement sending analytics events, for example, for clicking the save profile button?
What will happen in Node.js and in the browser if you access global and execute global.foo = 'bar'?
How does the host application exchange data with the iFrame?