Sobes.tech

```typescript var a = { firstName: 'Bill', lastName: 'Ivanov', sayName: function() { console.log(this.firstName); }, sayLastName: () => { console.log(this.lastName); } }; a.sayName(); // var b = a.sayName; b(); // a.sayName.bind({ firstName: 'Boris' })(); // a.sayName(); // a.sayLastName(); // a.sayName.bind({ firstName: 'Boris' }).bind({ firstName: 'Tom' })(); // a.sayLastName.bind({ lastName: 'Petrov' })(); // ``` The containing arrow function captures the global value of 'this'.

134

What attracted you to your company? What would you like to find at your new job?

134

That makes sense—keeping the public contract closed avoids unintended API drift, and discriminated unions are a strong reason to prefer `type`. When you’re implementing that button to be pixel-perfect and responsive, how do you handle spacing and alignment so icon+label stays visually consistent across breakpoints and font-size changes?

Senior
133

How would you structure the information exchange between the backend and frontend in layers (architecturally)?

Middle
133

What middleware did you use in Redux? What is middleware?

Middle+
133

What is important to control during deployment?

Middle
132

Was it difficult to allocate time for two parallel projects by the same team?

132

How was your Redux store tree structured: how nested was it, and how were slices organized?

Middle+
132

/** * Write a component that will get a user by {{userId}} and display basic data * Use fetchUser for the request */ export const User: FC<Props> = ({ userId }) => { // Write your solution here: const user = userId && fetchUser({ id: userId }); if (!user) return null; return ( <div className="stack column"> <div>UserId: </div> <div>UserName: </div> </div> ); };

Middle+
132

What will the two console.log outputs in the example with objects a, b, and c, used as object keys?

Middle+
132

function debounce(fn, delay) { let timer return function (...args) { clearTimeout(timer) timer = setTimeout(() => fn(args), delay) } }

132

At what levels can services be provided via providers in Angular: component, route, module, application, platform?

131

What was configured in CI/CD for automatic deployment and how did it ensure production stability?

131

How many teams were involved in the product, how many people were in your team, and how many developers worked on one micro frontend?

Middle
131

Why do React component re-renders occur when working with Redux and how does the component learn about state changes?

Middle+
131

What happens if you place many client components with the 'use client' directive in the server root layout?

131

Which state management stack would you suggest for this project — React Query, Redux Toolkit, RTK Query?

130
/350