Sobes.tech

```javascript const obj = { name: 'Alex', say() { console.info(this.name); } }; const fn = obj.say; fn(); obj.say(); ```

Middle
155

Tell me more about the rendering stages: layout (reflow) and paint (repaint)

Middle
153

// How can this asynchronous code in a loop be optimized so that promises execute asynchronously? async function processItems() { const items = [1, 2, 3]; for (const item of items) { await new Promise((resolve) => setTimeout(resolve, 100)); console.log(item); } } processItems();

Middle
149

How does the refresh token mechanism work?

Middle
148

Tell me about SSE (Server-Sent Events) and compare it with WebSocket and polling.

Middle
146

What is the difference between HTTP and HTTPS?

Middle
144

Tell me about development methodologies: Scrum, Waterfall, Kanban

Middle
142

What is the never type in TypeScript and how does it differ from other types?

Middle
142

Which HTML tag helps load different images for various screen resolutions?

Middle
140

Abstract task: a feature was rolled out, and a week later users complain that the page freezes. How would you go about finding the problem?

Middle
135

What architecture to choose for writing a UI library?

Middle
130

What types of testing do you know besides unit tests?

Middle
125

Tell me about the Dependency Inversion principle (DIP) from SOLID with an example.

Middle
121

Tell me about the critical rendering path of a page in a browser.

Middle
116

```javascript const obj = { name: 'Alex', say() { console.info(this.name); } }; const obj2 = { name: 'Ivan' } const fn = obj.say.bind(obj).bind(obj2); fn(); obj.say(); ```

Middle
110
/2