Implement in JavaScript fetching data from endpoints: load posts and comments in parallel, group comments by postId, and create an array of objects with id, title, userId, and comment count.
Frontend
What is the difference between the async and defer attributes in the script tag?
You mentioned working with forms — which library was used in Vue for form handling?
How to explicitly specify that T is an array type and not an element type (using Array<T>)?
Implement a cash withdrawal function: given the requested amount and available bill denominations, determine if the amount can be dispensed, and return the set of bills or an error/indication of impossibility. Use the provided bill limits, consider the limited number of banknotes, and the impossibility to make the amount.
What are primitives in JavaScript?
Tell us about yourself and your work experience, especially from a technical perspective.
Write correct types for this function so that TypeScript correctly checks both objects (using generics and keyof).
How to get the keys and values of an object simultaneously as an array?
Which stages of browser rendering can be optimized to avoid unnecessary recalculations, and how to do it?
What is the most resource-intensive part of rendering a page?
Do you have experience working before your current company? How did you get there?
How do you handle interface design without a designer in the team?
Implement a wrapper around fetch with retries: it takes the number of retries and fetch arguments, returns the same result as fetch, and after exhausting attempts, throws the last error.
Implement any arrow function that logs its this context to the console, and tell what will be output when called.
What is a lexical environment?
How to improve the retry wrapper around fetch to retry the request also when response.ok === false?
How can I simply list the values, and can I change something opposite each line and comment?
Request data about posts, comments, and users from three API endpoints and compile a single array of objects: post id and title, author's name, and number of comments.
What tasks and questions to expect at the next interview stage if the vacancy involves a possible transition from React to Vue?