What problems do you see with the global object window.handlers and event handler conflicts?
Frontend
What issues do you see with using async/await in this code and how can they be fixed?
What is a memory leak and how does the garbage collector work in JavaScript?
Suggest a correct inheritance model for Button and Input classes instead of the current one where Input extends Button.
What symbols need to be escaped to protect against XSS attacks?
What architectural issues do you see in the addField method with type checks via if?
How to correctly modify a fetch request for secure transmission of sensitive data?
What validation and sanitization methods can be applied to user input on the client side?
How to correctly insert custom text into the DOM, preserving HTML markup but avoiding XSS?
How to eliminate memory leaks when removing an element from the DOM if the event handler is stored in a global object?
Why is using var and searching for elements by index (querySelectorAll()[0]) considered bad practice?
What security issues are associated with using innerHTML for inserting user input?
Explain the inheritance problem in code where a class extends Object, and suggest a solution.
Explain how reactivity works in Vue 3: reactive, ref, shallowReactive, markRaw.
What security issues do you see in transmitting login and password via URL query parameters?
Why is addField called in the constructor in the code and what problems does it create in terms of scalability?