Frontend
What is the difference between __proto__, [[Prototype]], and prototype?
If the task is unfamiliar and time is limited (for example, a week), how do you act?
What database was used in the project?
What do you know about REST? What request methods are available?
How will the asymptotic complexity and memory consumption change in the task camelCase → snake_case if the result is collected by concatenating strings instead of an array of characters?
What cookie attributes do you remember?
How do you build the process of learning new technologies?
Tell us about the new features introduced in the ES6 (ES2015) standard in JavaScript.
What interesting cases or non-standard situations have you encountered while working with Playwright?
What is the difference between the double equals operator (==) and the triple equals operator (===)?
There is a React component with a counter (useState), a button that increments the counter by 1, and a list of 100 items. What happens when the button is clicked?
Tell about your education. How did you come into the IT field?
What would be a compelling argument for you in choosing a particular company or project?
Tell us how well you understand what the company is, what product it offers, and what you will be doing?
What AI tools and assistants do you use in your work and how?
// It is necessary to check the solution to the problem on two services by calling: // 1. checkResult(url1, solution) // 2. checkResult(url2, solution) // // checkResult: (url: string, solution: string | number) => Promise<boolean>; // // - If both requests return true - log success // - If at least one returns false - log fail // - If at least one does not respond - log error // - If at least one responds longer than 1 sec - log timeout
[name] asked: Can you tell me about the stack you worked on? Specifically, tell me more about Next.js.
import { useState, useRef, useEffect } from "react"; const useDebugRender = ({props}) => { const prevProp = useRef(props) useEffect(() => { }, []) } const ParentComponent = () => { const [random, setRandom] = useState(0); // Passes to child component as a Prop const [text, setText] = useState(""); // Passes to child component as a Prop const createRandom = () => setRandom(Math.floor(Math.random() * 100)); const onTextChange = (e) => setText(e.target.value); const [count, setCount] = useState(0); const incrementCount = () => setCount((prev) => prev + 1); // This function is passed as a prop to the child component return ( <> <Count: {count} /> <input type="text" onChange={onTextChange} /> <button onClick={createRandom}>Generate Random</button> <div> <ChildComponent random={random} text={text} incrementCount={incrementCount} /> </div> </> ); }; export default ParentComponent;
Tell about HTTP protocols and methods used.
If you consider optimization in terms of a Vue component, what would you pay attention to and what tools would you use?