René's URL Explorer Experiment


Title: fix(event-loop): удален лишний инкремент i++ в примере с индикацией п… by wombatbuddy · Pull Request #2196 · javascript-tutorial/ru.javascript.info · GitHub

Open Graph Title: fix(event-loop): удален лишний инкремент i++ в примере с индикацией п… by wombatbuddy · Pull Request #2196 · javascript-tutorial/ru.javascript.info

X Title: fix(event-loop): удален лишний инкремент i++ в примере с индикацией п… by wombatbuddy · Pull Request #2196 · javascript-tutorial/ru.javascript.info

Description: Описание изменений В статье «Событийный цикл: микрозадачи и макрозадачи» (event-loop.md) в примере «Пример 2: индикация прогресса» обнаружена логическая ошибка в цикле for. Текущий код: for (let i = 0; i < 1e6; i++) { i++; progress.innerHTML = i; } Проблема: Из-за i++ внутри тела цикла переменная увеличивается дважды за одну итерацию. В результате цикл выполняет в два раза меньше шагов, чем задумывалось (500 000 вместо 1 000 000), а в DOM на каждом шаге записываются только четные числа. Что сделано: Удалена лишняя строка i++ из тела цикла. Теперь счётчик работает корректно и инкрементируется только в самом выражении for.

Open Graph Description: Описание изменений В статье «Событийный цикл: микрозадачи и макрозадачи» (event-loop.md) в примере «Пример 2: индикация прогресса» обнаружена логическая ошибка в цикле for. Текущий код: for (let i ...

X Description: Описание изменений В статье «Событийный цикл: микрозадачи и макрозадачи» (event-loop.md) в примере «Пример 2: индикация прогресса» обнаружена логическая ошибка в цикле for. Текущий код: for (let i ...

Opengraph URL: https://github.com/javascript-tutorial/ru.javascript.info/pull/2196

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:4c59b781-0a2d-5d04-848c-6684259f5c8f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB448:2DEC93:4CADE:6C173:6AFBE7BA
html-safe-nonce2169082ef9e1255f0bfcc156a39971079ef3f04e3b5e3379995738e20e35a567
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDQ4OjJERUM5Mzo0Q0FERTo2QzE3Mzo2QUZCRTdCQSIsInZpc2l0b3JfaWQiOiIxNDM4MjY4Mzc0NjU0OTA0MjUwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb70a43ea4aa925d4ba7b5dec47096f4c68210324b2113dff1c33f5d49d3d8a46
hovercard-subject-tagpull_request:4525039425
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/javascript-tutorial/ru.javascript.info/pull/2196/files
twitter:imagehttps://avatars.githubusercontent.com/u/6483603?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/6483603?s=400&v=4
og:image:altОписание изменений В статье «Событийный цикл: микрозадачи и макрозадачи» (event-loop.md) в примере «Пример 2: индикация прогресса» обнаружена логическая ошибка в цикле for. Текущий код: for (let i ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None744d4381b1c4dbd6d8736c7d7e5bbe7dc11217584e457a3555020c631764e8ec
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/javascript-tutorial/ru.javascript.info git https://github.com/javascript-tutorial/ru.javascript.info.git
octolytics-dimension-user_id49552305
octolytics-dimension-user_loginjavascript-tutorial
octolytics-dimension-repository_id160851084
octolytics-dimension-repository_nwojavascript-tutorial/ru.javascript.info
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id160851084
octolytics-dimension-repository_network_root_nwojavascript-tutorial/ru.javascript.info
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasedf859c48a4c8b4c0009c19bb4e82101aacb4b998
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/javascript-tutorial/ru.javascript.info/pull/2196/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjavascript-tutorial%2Fru.javascript.info%2Fpull%2F2196%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjavascript-tutorial%2Fru.javascript.info%2Fpull%2F2196%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=javascript-tutorial%2Fru.javascript.info
Reloadhttps://github.com/javascript-tutorial/ru.javascript.info/pull/2196/files
Reloadhttps://github.com/javascript-tutorial/ru.javascript.info/pull/2196/files
Reloadhttps://github.com/javascript-tutorial/ru.javascript.info/pull/2196/files
javascript-tutorialhttps://github.com/javascript-tutorial
ru.javascript.infohttps://github.com/javascript-tutorial/ru.javascript.info
Codehttps://github.com/javascript-tutorial/ru.javascript.info
Issues32 (32)https://github.com/javascript-tutorial/ru.javascript.info/issues
Pull requests106 (106)https://github.com/javascript-tutorial/ru.javascript.info/pulls
Actionshttps://github.com/javascript-tutorial/ru.javascript.info/actions
Projectshttps://github.com/javascript-tutorial/ru.javascript.info/projects
Security and qualityhttps://github.com/javascript-tutorial/ru.javascript.info/security
Insightshttps://github.com/javascript-tutorial/ru.javascript.info/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fjavascript-tutorial%2Fru.javascript.info%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fjavascript-tutorial%2Fru.javascript.info%2Fissues%2Fnew%2Fchoose
wombatbuddyhttps://github.com/wombatbuddy
javascript-tutorial:masterhttps://github.com/javascript-tutorial/ru.javascript.info/tree/master
wombatbuddy:patch-1https://github.com/wombatbuddy/ru.javascript.info/tree/patch-1
Conversation 0 https://github.com/javascript-tutorial/ru.javascript.info/pull/2196
Commits 1 https://github.com/javascript-tutorial/ru.javascript.info/pull/2196/commits
Checks 0 https://github.com/javascript-tutorial/ru.javascript.info/pull/2196/checks
Files changed https://github.com/javascript-tutorial/ru.javascript.info/pull/2196/files
Please reload this pagehttps://github.com/javascript-tutorial/ru.javascript.info/pull/2196/files
fix(event-loop): удален лишний инкремент i++ в примере с индикацией п… https://github.com/javascript-tutorial/ru.javascript.info/pull/2196/files#top
Show all changes 1 commit https://github.com/javascript-tutorial/ru.javascript.info/pull/2196/files
a68f101 fix(event-loop): удален лишний инкремент i++ в примере с индикацией п… wombatbuddy Sep 14, 2026 https://github.com/javascript-tutorial/ru.javascript.info/pull/2196/commits/a68f101ba2e146838c5a5a7e65ba14a68c4fe00c
Clear filters https://github.com/javascript-tutorial/ru.javascript.info/pull/2196/files
Please reload this pagehttps://github.com/javascript-tutorial/ru.javascript.info/pull/2196/files
Please reload this pagehttps://github.com/javascript-tutorial/ru.javascript.info/pull/2196/files
2-ui/99-ui-misc/03-event-loop/article.mdhttps://github.com/javascript-tutorial/ru.javascript.info/pull/2196/files#diff-b43ffe11af05abaed45d48a22b3df851828b0c23a7395e56edae64841e2ba070
View file https://github.com/javascript-tutorial/ru.javascript.info/blob/a68f101ba2e146838c5a5a7e65ba14a68c4fe00c/2-ui/99-ui-misc/03-event-loop/article.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/javascript-tutorial/ru.javascript.info/pull/2196/{{ revealButtonHref }}
https://github.com/javascript-tutorial/ru.javascript.info/pull/2196/files#diff-b43ffe11af05abaed45d48a22b3df851828b0c23a7395e56edae64841e2ba070
https://github.com/javascript-tutorial/ru.javascript.info/pull/2196/files#diff-b43ffe11af05abaed45d48a22b3df851828b0c23a7395e56edae64841e2ba070
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.