1"use strict";(globalThis.webpackChunklazyoffer=globalThis.webpackChunklazyoffer||[]).push([[1362],{5533(e,n,i){i.r(n),i.d(n,{assets:()=>o,contentTitle:()=>d,default:()=>h,frontMatter:()=>c,metadata:()=>s,toc:()=>a});const s=JSON.parse('{"id":"preparation-map/javascript","title":"JavaScript","description":"\u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0438 \u043f\u043e JavaScript \u0434\u043b\u044f Junior, Middle \u0438 Senior \u0441\u043e\u0431\u0435\u0441\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0439.","source":"@site/docs/preparation-map/javascript.md","sourceDirName":"preparation-map","slug":"/preparation-map/javascript","permalink":"/docs/preparation-map/javascript","draft":false,"unlisted":false,"tags":[],"version":"current","sidebarPosition":8,"frontMatter":{"sidebar_position":8,"id":"javascript","title":"JavaScript","description":"\u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0438 \u043f\u043e JavaScript \u0434\u043b\u044f Junior, Middle \u0438 Senior \u0441\u043e\u0431\u0435\u0441\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0439.","sidebar_custom_props":{"icon":"logo_javascript"}},"sidebar":"tutorialSidebar","previous":{"title":"CSS","permalink":"/docs/preparation-map/css"},"next":{"title":"React","permalink":"/docs/preparation-map/react"}}');var r=i(4848),l=i(8453);const c={sidebar_position:8,id:"javascript",title:"JavaScript",description:"\u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0438 \u043f\u043e JavaScript \u0434\u043b\u044f Junior, Middle \u0438 Senior \u0441\u043e\u0431\u0435\u0441\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0439.",sidebar_custom_props:{icon:"logo_javascript"}},d="JavaScript",o={},a=[{value:"\u0411\u044b\u0441\u0442\u0440\u044b\u0439 \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u043a \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044e",id:"\u0431\u044b\u0441\u0442\u0440\u044b\u0439-\u043f\u0435\u0440\u0435\u0445\u043e\u0434-\u043a-\u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044e",level:2},{value:"\u0427\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0437\u043d\u0430\u0442\u044c",id:"\u0447\u0442\u043e-\u043d\u0443\u0436\u043d\u043e-\u0437\u043d\u0430\u0442\u044c",level:2},{value:"\u0427\u0442\u043e \u0443\u043c\u0435\u0442\u044c \u043e\u0431\u044a\u044f\u0441\u043d\u0438\u0442\u044c \u043d\u0430 \u0441\u043e\u0431\u0435\u0441\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0438",id:"\u0447\u0442\u043e-\u0443\u043c\u0435\u0442\u044c-\u043e\u0431\u044a\u044f\u0441\u043d\u0438\u0442\u044c-\u043d\u0430-\u0441\u043e\u0431\u0435\u0441\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0438",level:2},{value:"\u0413\u0440\u0435\u0439\u0434-\u0444\u043e\u043a\u0443\u0441",id:"\u0433\u0440\u0435\u0439\u0434-\u0444\u043e\u043a\u0443\u0441",level:2},{value:"\u0413\u043b\u0443\u0431\u043e\u043a\u0438\u0435 \u043a\u0435\u0439\u0441\u044b \u0441\u043e\u0431\u0435\u0441\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f",id:"\u0433\u043b\u0443\u0431\u043e\u043a\u0438\u0435-\u043a\u0435\u0439\u0441\u044b-\u0441\u043e\u0431\u0435\u0441\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f",level:2},{value:"\u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043c\u0438\u043d\u0438\u043c\u0443\u043c",id:"\u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439-\u043c\u0438\u043d\u0438\u043c\u0443\u043c",level:2},{value:"\u0422\u0438\u043f\u043e\u0432\u044b\u0435 \u043b\u043e\u0432\u0443\u0448\u043a\u0438",id:"\u0442\u0438\u043f\u043e\u0432\u044b\u0435-\u043b\u043e\u0432\u0443\u0448\u043a\u0438",level:2},{value:"Self-review \u043f\u0435\u0440\u0435\u0434 \u0441\u043e\u0431\u0435\u0441\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435\u043c",id:"self-review-\u043f\u0435\u0440\u0435\u0434-\u0441\u043e\u0431\u0435\u0441\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435\u043c",level:2},{value:"\u0421\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b",id:"\u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435-\u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b",level:2},{value:"\u0410\u0440\u0445\u0438\u0432\u043d\u044b\u0439 \u043c\u043e\u043d\u043e\u043b\u0438\u0442",id:"\u0430\u0440\u0445\u0438\u0432\u043d\u044b\u0439-\u043c\u043e\u043d\u043e\u043b\u0438\u0442",level:2}];function t(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",header:"header",li:"li",ol:"ol",p:"p",pre:"pre",...(0,l.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"javascript",children:"JavaScript"})}),"\n",(0,r.jsx)(n.p,{children:"\u042d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b - \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0443\u0447\u0435\u0431\u043d\u044b\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u043f\u043e JavaScript, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043e\u0431\u044b\u0447\u043d\u043e \u043b\u043e\u043c\u0430\u044e\u0442\u0441\u044f \u0434\u0430\u0436\u0435 \u0441\u0438\u043b\u044c\u043d\u044b\u0435 \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u044b."}),"\n",(0,r.jsx)(n.h2,{id:"\u0431\u044b\u0441\u0442\u0440\u044b\u0439-\u043f\u0435\u0440\u0435\u0445\u043e\u0434-\u043a-\u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044e",children:"\u0411\u044b\u0441\u0442\u0440\u044b\u0439 \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u043a \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044e"}),"\n",(0,r.jsxs)(n.ol,{children:["\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.a,{href:"/docs/learning/frontend-fundamentals/javascript",children:"JavaScript \u2014 \u0443\u0447\u0435\u0431\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c"})}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"/js-visual-lab?topic=event-loop&case=sync-micro-macro",children:"JS Visual Lab"})," \u2014 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c Event Loop, Closure, ",(0,r.jsx)(n.code,{children:"this"}),", Prototype, Hoisting/TDZ, Async Race \u0438 References."]}),"\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.a,{href:"/docs/learning",children:"\u0412\u0441\u0435 \u0443\u0447\u0435\u0431\u043d\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438"})}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"\u0447\u0442\u043e-\u043d\u0443\u0436\u043d\u043e-\u0437\u043d\u0430\u0442\u044c",children:"\u0427\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0437\u043d\u0430\u0442\u044c"}),"\n",(0,r.jsxs)(n.ol,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"/docs/learning/frontend-fundamentals/javascript#lesson-1",children:"\u0422\u0438\u043f\u044b \u0438 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f:"}),"\n",(0,r.jsx)(n.code,{children:"var/let/const"}),", ",(0,r.jsx)(n.code,{children:"null/undefined"}),", truthy/falsy, ",(0,r.jsx)(n.code,{children:"==/==="}),", ",(0,r.jsx)(n.code,{children:"Object.is"}),", ",(0,r.jsx)(n.code,{children:"NaN"}),"."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"/docs/learning/frontend-fundamentals/javascript#lesson-2",children:"\u041e\u0431\u043b\u0430\u0441\u0442\u044c \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438:"}),"\nlexical scope, hoisting, TDZ, ",(0,r.jsx)(n.code,{children:"this"}),", \u0437\u0430\u043c\u044b\u043a\u0430\u043d\u0438\u044f, prototype chain."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"/docs/learning/frontend-fundamentals/javascript#lesson-3",children:"\u0420\u0430\u0431\u043e\u0442\u0430 \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438:"}),"\n\u043c\u0443\u0442\u0430\u0446\u0438\u044f/\u0438\u043c\u043c\u0443\u0442\u0430\u0431\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c, shallow/deep copy, \u0441\u0441\u044b\u043b\u043e\u0447\u043d\u0430\u044f \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u043e\u0441\u0442\u044c."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"/docs/learning/frontend-fundamentals/javascript#lesson-4",children:"\u0410\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e\u0441\u0442\u044c:"}),"\nEvent Loop, microtask/macrotask, Promise combinators, ",(0,r.jsx)(n.code,{children:"AbortController"}),", retry/timeout."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"/docs/learning/frontend-fundamentals/javascript#lesson-4",children:"Browser runtime:"}),"\nstorage API, CORS, \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 (",(0,r.jsx)(n.code,{children:"async"}),"/",(0,r.jsx)(n.code,{children:"defer"}),"/",(0,r.jsx)(n.code,{children:"module"}),"), memory leaks."]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"\u0447\u0442\u043e-\u0443\u043c\u0435\u0442\u044c-\u043e\u0431\u044a\u044f\u0441\u043d\u0438\u0442\u044c-\u043d\u0430-\u0441\u043e\u0431\u0435\u0441\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0438",children:"\u0427\u0442\u043e \u0443\u043c\u0435\u0442\u044c \u043e\u0431\u044a\u044f\u0441\u043d\u0438\u0442\u044c \u043d\u0430 \u0441\u043e\u0431\u0435\u0441\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0438"}),"\n",(0,r.jsxs)(n.ol,{children:["\n",(0,r.jsx)(n.li,{children:(0,r.jsxs)(n.a,{href:"/docs/questions/junior-js#q-10",children:["\u041f\u043e\u0447\u0435\u043c\u0443 ",(0,r.jsx)(n.code,{children:"Promise.then"})," \u043e\u0431\u044b\u0447\u043d\u043e \u043e\u0442\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u0440\u0430\u043d\u044c\u0448\u0435 ",(0,r.jsx)(n.code,{children:"setTimeout"}),"."]})}),"\n",(0,r.jsx)(n.li,{children:(0,r.jsxs)(n.a,{href:"/docs/questions/junior-js#q-2",children:["\u041a\u043e\u0433\u0434\u0430 ",(0,r.jsx)(n.code,{children:"=="})," \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c \u0438 \u043f\u043e\u0447\u0435\u043c\u0443 ",(0,r.jsx)(n.code,{children:"==="})," - \u0434\u0435\u0444\u043e\u043b\u0442."]})}),"\n",(0,r.jsx)(n.li,{children:(0,r.jsxs)(n.a,{href:"/docs/questions/junior-js#q-1",children:["\u041f\u043e\u0447\u0435\u043c\u0443 ",(0,r.jsx)(n.code,{children:"const"})," \u043d\u0435 \u0434\u0435\u043b\u0430\u0435\u0442 \u043e\u0431\u044a\u0435\u043a\u0442 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e immutable."]})}),"\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.a,{href:"/docs/questions/middle-js-react#q-1",children:"\u041a\u0430\u043a \u0433\u043e\u043d\u043a\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0432 UI \u0438 \u043a\u0430\u043a \u0438\u0445 \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0449\u0430\u0442\u044c \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\u0445."})}),"\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.a,{href:"/docs/questions/senior-frontend#q-1",children:"\u0413\u0434\u0435 \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f\u043d\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u0440\u0435\u0430\u043b\u044c\u043d\u043e \u0432\u043b\u0438\u044f\u0435\u0442 \u043d\u0430 \u043a\u043e\u0434 \u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c."})}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"\u0433\u0440\u0435\u0439\u0434-\u0444\u043e\u043a\u0443\u0441",children:"\u0413\u0440\u0435\u0439\u0434-\u0444\u043e\u043a\u0443\u0441"}),"\n",(0,r.jsxs)(n.ol,{children:["\n",(0,r.jsx)(n.li,{children:"Junior:\n\u0442\u0438\u043f\u044b, \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f, \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u043c\u0430\u0441\u0441\u0438\u0432\u044b/\u043e\u0431\u044a\u0435\u043a\u0442\u044b, \u0431\u0430\u0437\u043e\u0432\u044b\u0439 async."}),"\n",(0,r.jsx)(n.li,{children:"Middle:\n\u043e\u0447\u0435\u0440\u0435\u0434\u0438 \u0437\u0430\u0434\u0430\u0447, \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0435 async-\u043f\u0430\u0442\u0442\u0435\u0440\u043d\u044b, \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0430 \u0431\u0430\u0433\u043e\u0432 \u0438\u0437 \u043f\u0440\u043e\u0434-\u043b\u043e\u0433\u0438\u043a\u0438."}),"\n",(0,r.jsx)(n.li,{children:"Senior:\n\u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 async-flow, resilience-\u043f\u043e\u0434\u0445\u043e\u0434\u044b (retry/backoff/cancel), \u0440\u0438\u0441\u043a\u0438 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f."}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"\u0433\u043b\u0443\u0431\u043e\u043a\u0438\u0435-\u043a\u0435\u0439\u0441\u044b-\u0441\u043e\u0431\u0435\u0441\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f",children:"\u0413\u043b\u0443\u0431\u043e\u043a\u0438\u0435 \u043a\u0435\u0439\u0441\u044b \u0441\u043e\u0431\u0435\u0441\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f"}),"\n",(0,r.jsxs)(n.ol,{children:["\n",(0,r.jsx)(n.li,{children:"\u041f\u043e\u0440\u044f\u0434\u043e\u043a \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f async-\u043a\u043e\u0434\u0430:"}),"\n"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-js",children:"console.log('A');\nsetTimeout(() => console.log('B'), 0);\nPromise.resolve().then(() => console.log('C'));\nconsole.log('D');\n"})}),"\n",(0,r.jsxs)(n.p,{children:["\u0421\u0438\u043b\u044c\u043d\u044b\u0439 \u043e\u0442\u0432\u0435\u0442:\n",(0,r.jsx)(n.code,{children:"A -> D -> C -> B"}),", \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e ",(0,r.jsx)(n.code,{children:"then"})," \u0438\u0434\u0435\u0442 \u0432 microtask queue, \u0430 ",(0,r.jsx)(n.code,{children:"setTimeout"})," \u0432 macrotask queue."]}),"\n",(0,r.jsxs)(n.ol,{start:"2",children:["\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:"\u0418\u043c\u043c\u0443\u0442\u0430\u0431\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0438 \u0431\u0430\u0433 \u0432 UI:\n\u0435\u0441\u043b\u0438 \u043c\u0443\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 \u0432 state, \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435 \u043d\u0435 \u0443\u0432\u0438\u0434\u0438\u0442 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0438 \u0447\u0430\u0441\u0442\u044c UI \u043d\u0435 \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u0441\u044f.\n\u041d\u0443\u0436\u043d\u044b \u0438\u043c\u043c\u0443\u0442\u0430\u0431\u0435\u043b\u044c\u043d\u044b\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0438 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c ownership \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f."}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsxs)(n.p,{children:["\u0413\u043e\u043d\u043a\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432:\n\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0444\u0438\u043b\u044c\u0442\u0440\u044b, \u0431\u043e\u043b\u0435\u0435 \u0441\u0442\u0430\u0440\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u043f\u043e\u0437\u0436\u0435 \u0438 \u0437\u0430\u0442\u0438\u0440\u0430\u0435\u0442 \u043d\u043e\u0432\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435.\n\u041d\u0443\u0436\u043d\u044b ",(0,r.jsx)(n.code,{children:"AbortController"}),", request-id \u0438\u043b\u0438 stale-guard."]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"\u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439-\u043c\u0438\u043d\u0438\u043c\u0443\u043c",children:"\u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043c\u0438\u043d\u0438\u043c\u0443\u043c"}),"\n",(0,r.jsxs)(n.ol,{children:["\n",(0,r.jsxs)(n.li,{children:["\u0420\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c ",(0,r.jsx)(n.code,{children:"debounce"})," \u0438 ",(0,r.jsx)(n.code,{children:"throttle"})," \u0432\u0440\u0443\u0447\u043d\u0443\u044e."]}),"\n",(0,r.jsx)(n.li,{children:"\u041d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0433\u043e merge \u0431\
1u0435\u0437 \u043c\u0443\u0442\u0430\u0446\u0438\u0438 \u0432\u0445\u043e\u0434\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445."}),"\n",(0,r.jsx)(n.li,{children:"\u0420\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c 5 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u043f\u043e\u0440\u044f\u0434\u043a\u0430 \u043b\u043e\u0433\u043e\u0432 \u0441 async-\u043a\u043e\u0434\u043e\u043c."}),"\n",(0,r.jsxs)(n.li,{children:["\u0420\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c ",(0,r.jsx)(n.code,{children:"fetch"})," \u0441 \u0442\u0430\u0439\u043c\u0430\u0443\u0442\u043e\u043c \u0438 \u043e\u0442\u043c\u0435\u043d\u043e\u0439 \u0447\u0435\u0440\u0435\u0437 ",(0,r.jsx)(n.code,{children:"AbortController"}),"."]}),"\n",(0,r.jsx)(n.li,{children:"\u0414\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u0437\u0430\u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u0442\u044c trade-offs \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0438 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438 \u0434\u0435\u0433\u0440\u0430\u0434\u0430\u0446\u0438\u0438."}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"\u0442\u0438\u043f\u043e\u0432\u044b\u0435-\u043b\u043e\u0432\u0443\u0448\u043a\u0438",children:"\u0422\u0438\u043f\u043e\u0432\u044b\u0435 \u043b\u043e\u0432\u0443\u0448\u043a\u0438"}),"\n",(0,r.jsxs)(n.ol,{children:["\n",(0,r.jsx)(n.li,{children:"\u042f \u0437\u043d\u0430\u044e event loop, \u043d\u043e \u043d\u0435 \u043c\u043e\u0433\u0443 \u043e\u0431\u044a\u044f\u0441\u043d\u0438\u0442\u044c \u043e\u0447\u0435\u0440\u0435\u0434\u0438."}),"\n",(0,r.jsxs)(n.li,{children:["\u0423\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435, \u0447\u0442\u043e ",(0,r.jsx)(n.code,{children:"let/const"})," \u043d\u0435 hoist-\u044f\u0442\u0441\u044f."]}),"\n",(0,r.jsxs)(n.li,{children:["\u0421\u043c\u0435\u0448\u0435\u043d\u0438\u0435 ",(0,r.jsx)(n.code,{children:"null"})," \u0438 ",(0,r.jsx)(n.code,{children:"undefined"})," \u0431\u0435\u0437 \u043a\u043e\u043d\u0442\u0440\u0430\u043a\u0442\u0430."]}),"\n",(0,r.jsx)(n.li,{children:"\u041b\u043e\u0433\u0438\u043a\u0430 retry \u0431\u0435\u0437 \u043b\u0438\u043c\u0438\u0442\u043e\u0432, \u0447\u0442\u043e \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043a retry storm."}),"\n",(0,r.jsx)(n.li,{children:"\u041e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u0431\u0435\u0437 \u043f\u0440\u043e\u0444\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u043c\u0435\u0442\u0440\u0438\u043a."}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"self-review-\u043f\u0435\u0440\u0435\u0434-\u0441\u043e\u0431\u0435\u0441\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435\u043c",children:"Self-review \u043f\u0435\u0440\u0435\u0434 \u0441\u043e\u0431\u0435\u0441\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435\u043c"}),"\n",(0,r.jsxs)(n.ol,{children:["\n",(0,r.jsx)(n.li,{children:"\u042f \u043c\u043e\u0433\u0443 \u0437\u0430 30-40 \u0441\u0435\u043a\u0443\u043d\u0434 \u043e\u0431\u044a\u044f\u0441\u043d\u0438\u0442\u044c Event Loop \u0431\u0435\u0437 \u043f\u0443\u0442\u0430\u043d\u0438\u0446\u044b."}),"\n",(0,r.jsx)(n.li,{children:"\u042f \u043c\u043e\u0433\u0443 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043a\u0435\u0439\u0441, \u0433\u0434\u0435 \u043e\u0448\u0438\u0431\u043a\u0430 \u0431\u044b\u043b\u0430 \u0438\u0437-\u0437\u0430 \u043c\u0443\u0442\u0430\u0446\u0438\u0438."}),"\n",(0,r.jsx)(n.li,{children:"\u042f \u0443\u043c\u0435\u044e \u043e\u0431\u044a\u044f\u0441\u043d\u0438\u0442\u044c, \u043a\u0430\u043a \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0449\u0430\u043b race condition \u0432 UI."}),"\n",(0,r.jsx)(n.li,{children:"\u042f \u0437\u043d\u0430\u044e \u043c\u0438\u043d\u0438\u043c\u0443\u043c 2 trade-off \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e async-\u043f\u043e\u0434\u0445\u043e\u0434\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e."}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"\u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435-\u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b",children:"\u0421\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b"}),"\n",(0,r.jsxs)(n.ol,{children:["\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.a,{href:"/docs/questions/junior-js",children:"Junior JavaScript"})}),"\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.a,{href:"/docs/questions/middle-js-react",children:"Middle JavaScript \u0438 React"})}),"\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.a,{href:"/docs/questions/senior-frontend",children:"Senior Frontend"})}),"\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.a,{href:"/sandbox",children:"\u041f\u0435\u0441\u043e\u0447\u043d\u0438\u0446\u0430"})}),"\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.a,{href:"/js-visual-lab?topic=event-loop&case=sync-micro-macro",children:"JS Visual Lab"})}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"\u0430\u0440\u0445\u0438\u0432\u043d\u044b\u0439-\u043c\u043e\u043d\u043e\u043b\u0438\u0442",children:"\u0410\u0440\u0445\u0438\u0432\u043d\u044b\u0439 \u043c\u043e\u043d\u043e\u043b\u0438\u0442"}),"\n",(0,r.jsxs)(n.p,{children:["\u041f\u043e\u043b\u043d\u044b\u0439 \u0441\u0442\u0430\u0440\u044b\u0439 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b: ",(0,r.jsx)(n.a,{href:"/docs/theory-archive/javascript",children:"JavaScript (\u0430\u0440\u0445\u0438\u0432)"})]})]})}function h(e={}){const{wrapper:n}={...(0,l.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(t,{...e})}):t(e)}},8453(e,n,i){i.d(n,{R:()=>c,x:()=>d});var s=i(6540);const r={},l=s.createContext(r);function c(e){const n=s.useContext(l);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),s.createElement(l.Provider,{value:n},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.