René's URL Explorer Experiment


Title: Clarify Proxy invariants and trap return values by tagbug · Pull Request #3994 · javascript-tutorial/en.javascript.info · GitHub

Open Graph Title: Clarify Proxy invariants and trap return values by tagbug · Pull Request #3994 · javascript-tutorial/en.javascript.info

X Title: Clarify Proxy invariants and trap return values by tagbug · Pull Request #3994 · javascript-tutorial/en.javascript.info

Description: Summary This PR clarifies the wording around Proxy invariants while keeping the existing beginner-friendly explanation. The current invariants note mixes two related concepts: the normal meaning of internal-method return values, such as [[Set]] returning true for success and false for failure; restrictions that JavaScript actually enforces as invariants on Proxy behavior. The change keeps the former as recommended trap behavior (should) and distinguishes it from the latter. It also fixes two related details: [[GetPrototypeOf]] only has to return the target's actual prototype when the target is non-extensible (and its result must always be an object or null); a falsy set result reports that the write failed. Whether this becomes a TypeError depends on the operation using [[Set]]; the push example in this section is such an operation. No examples or overall structure are changed. References ECMA-262 §6.1.7.2 — Object Internal Methods and Internal Slots ECMA-262 §6.1.7.3 — Invariants of the Essential Internal Methods ECMA-262 §10.5 — Proxy Object Internal Methods and Internal Slots MDN — handler.set() MDN — handler.getPrototypeOf()

Open Graph Description: Summary This PR clarifies the wording around Proxy invariants while keeping the existing beginner-friendly explanation. The current invariants note mixes two related concepts: the normal meaning o...

X Description: Summary This PR clarifies the wording around Proxy invariants while keeping the existing beginner-friendly explanation. The current invariants note mixes two related concepts: the normal meaning o...

Opengraph URL: https://github.com/javascript-tutorial/en.javascript.info/pull/3994

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:9f96e048-6e04-6976-3b75-77c6fced32c9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE45E:22EC8D:19682B:221229:6AFBDFA1
html-safe-nonceecb7f667e54db25c7092442335454fbfffb8f50bab7fdc83c5df724f9cb86084
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDVFOjIyRUM4RDoxOTY4MkI6MjIxMjI5OjZBRkJERkExIiwidmlzaXRvcl9pZCI6Ijg2ODA4NzUwMjAxMzk2MTgyMDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca7cebf3ed653f7458fa98b2b83549d44e47c40a66c786350fb126af4c981244f
hovercard-subject-tagpull_request:4478008379
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/en.javascript.info/pull/3994/files
twitter:imagehttps://avatars.githubusercontent.com/u/41150861?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/41150861?s=400&v=4
og:image:altSummary This PR clarifies the wording around Proxy invariants while keeping the existing beginner-friendly explanation. The current invariants note mixes two related concepts: the normal meaning o...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None744d4381b1c4dbd6d8736c7d7e5bbe7dc11217584e457a3555020c631764e8ec
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/javascript-tutorial/en.javascript.info git https://github.com/javascript-tutorial/en.javascript.info.git
octolytics-dimension-user_id49552305
octolytics-dimension-user_loginjavascript-tutorial
octolytics-dimension-repository_id93253246
octolytics-dimension-repository_nwojavascript-tutorial/en.javascript.info
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id93253246
octolytics-dimension-repository_network_root_nwojavascript-tutorial/en.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/en.javascript.info/pull/3994/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjavascript-tutorial%2Fen.javascript.info%2Fpull%2F3994%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%2Fen.javascript.info%2Fpull%2F3994%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%2Fen.javascript.info
Reloadhttps://github.com/javascript-tutorial/en.javascript.info/pull/3994/files
Reloadhttps://github.com/javascript-tutorial/en.javascript.info/pull/3994/files
Reloadhttps://github.com/javascript-tutorial/en.javascript.info/pull/3994/files
javascript-tutorialhttps://github.com/javascript-tutorial
en.javascript.infohttps://github.com/javascript-tutorial/en.javascript.info
Codehttps://github.com/javascript-tutorial/en.javascript.info
Issues252 (252)https://github.com/javascript-tutorial/en.javascript.info/issues
Pull requests289 (289)https://github.com/javascript-tutorial/en.javascript.info/pulls
Discussionshttps://github.com/javascript-tutorial/en.javascript.info/discussions
Actionshttps://github.com/javascript-tutorial/en.javascript.info/actions
Security and qualityhttps://github.com/javascript-tutorial/en.javascript.info/security
Insightshttps://github.com/javascript-tutorial/en.javascript.info/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fjavascript-tutorial%2Fen.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%2Fen.javascript.info%2Fissues%2Fnew%2Fchoose
tagbughttps://github.com/tagbug
javascript-tutorial:masterhttps://github.com/javascript-tutorial/en.javascript.info/tree/master
tagbug:fix/proxy-invariantshttps://github.com/tagbug/en.javascript.info/tree/fix/proxy-invariants
Conversation 2 https://github.com/javascript-tutorial/en.javascript.info/pull/3994
Commits 1 https://github.com/javascript-tutorial/en.javascript.info/pull/3994/commits
Checks 0 https://github.com/javascript-tutorial/en.javascript.info/pull/3994/checks
Files changed https://github.com/javascript-tutorial/en.javascript.info/pull/3994/files
Please reload this pagehttps://github.com/javascript-tutorial/en.javascript.info/pull/3994/files
Clarify Proxy invariants and trap return values https://github.com/javascript-tutorial/en.javascript.info/pull/3994/files#top
Show all changes 1 commit https://github.com/javascript-tutorial/en.javascript.info/pull/3994/files
0d8bbaa Clarify Proxy invariants and trap return values tagbug Sep 8, 2026 https://github.com/javascript-tutorial/en.javascript.info/pull/3994/commits/0d8bbaa0ceabb06486e44eb5b852cd7c57d4bc01
Clear filters https://github.com/javascript-tutorial/en.javascript.info/pull/3994/files
Please reload this pagehttps://github.com/javascript-tutorial/en.javascript.info/pull/3994/files
Please reload this pagehttps://github.com/javascript-tutorial/en.javascript.info/pull/3994/files
1-js/99-js-misc/01-proxy/article.mdhttps://github.com/javascript-tutorial/en.javascript.info/pull/3994/files#diff-5d920f12613513623cb5dce2e9efd361f4fe137aa6ec4fefa61b9b9b7ba9469f
View file https://github.com/javascript-tutorial/en.javascript.info/blob/0d8bbaa0ceabb06486e44eb5b852cd7c57d4bc01/1-js/99-js-misc/01-proxy/article.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/javascript-tutorial/en.javascript.info/pull/3994/{{ revealButtonHref }}
https://github.com/javascript-tutorial/en.javascript.info/pull/3994/files#diff-5d920f12613513623cb5dce2e9efd361f4fe137aa6ec4fefa61b9b9b7ba9469f
https://github.com/javascript-tutorial/en.javascript.info/pull/3994/files#diff-5d920f12613513623cb5dce2e9efd361f4fe137aa6ec4fefa61b9b9b7ba9469f
https://github.com/javascript-tutorial/en.javascript.info/pull/3994/files#diff-5d920f12613513623cb5dce2e9efd361f4fe137aa6ec4fefa61b9b9b7ba9469f
https://github.com/javascript-tutorial/en.javascript.info/pull/3994/files#diff-5d920f12613513623cb5dce2e9efd361f4fe137aa6ec4fefa61b9b9b7ba9469f
https://github.com/javascript-tutorial/en.javascript.info/pull/3994/files#diff-5d920f12613513623cb5dce2e9efd361f4fe137aa6ec4fefa61b9b9b7ba9469f
https://github.com/javascript-tutorial/en.javascript.info/pull/3994/files#diff-5d920f12613513623cb5dce2e9efd361f4fe137aa6ec4fefa61b9b9b7ba9469f
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.