René's URL Explorer Experiment


Title: In source files and blocks, bind function declarations before other statements by sandersn · Pull Request #22766 · microsoft/TypeScript · GitHub

Open Graph Title: In source files and blocks, bind function declarations before other statements by sandersn · Pull Request #22766 · microsoft/TypeScript

X Title: In source files and blocks, bind function declarations before other statements by sandersn · Pull Request #22766 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - In source files and blocks, bind function declarations before other statements by sandersn · Pull Request #22766 · microsoft/TypeScript

Open Graph Description: Functions should be bound before other statements to match the hoisting behaviour of the Javascript runtime. In contrast, var declarations should not be bound before other statements because proper...

X Description: Functions should be bound before other statements to match the hoisting behaviour of the Javascript runtime. In contrast, var declarations should not be bound before other statements because proper...

Opengraph URL: https://github.com/microsoft/TypeScript/pull/22766

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/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:872113bf-4bf5-9fe5-bd2e-ef52b99be5b8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8E6A:157C65:2C3F175:3B086AF:6B01D06B
html-safe-nonce819b55d1870725e6c9e0dfb28de820f37b4ea42d8d1e5335d6755c97888b20f5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTZBOjE1N0M2NToyQzNGMTc1OjNCMDg2QUY6NkIwMUQwNkIiLCJ2aXNpdG9yX2lkIjoiNTQ5NDM2MzM3MjIwMTgyNDM2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac70d295d20c32bc3e4e4b131bd5dec32f9b451f6db1473767aeb1189fcf03db23
hovercard-subject-tagpull_request:176574041
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/microsoft/TypeScript/22766/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5cf732e0c4b5d774b796d6815a2a38e3f678c0e0fe8cc69620cb1c051bb67178/microsoft/TypeScript/pull/22766
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5cf732e0c4b5d774b796d6815a2a38e3f678c0e0fe8cc69620cb1c051bb67178/microsoft/TypeScript/pull/22766
og:image:altFunctions should be bound before other statements to match the hoisting behaviour of the Javascript runtime. In contrast, var declarations should not be bound before other statements because proper...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesandersn
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id20929025
octolytics-dimension-repository_nwomicrosoft/TypeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20929025
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/22766#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F22766
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%2Fmicrosoft%2FTypeScript%2Fpull%2F22766
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/pull/22766
Reloadhttps://github.com/microsoft/TypeScript/pull/22766
Reloadhttps://github.com/microsoft/TypeScript/pull/22766
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests312 (312)https://github.com/microsoft/TypeScript/pulls
Actionshttps://github.com/microsoft/TypeScript/actions
Projectshttps://github.com/microsoft/TypeScript/projects
Wikihttps://github.com/microsoft/TypeScript/wiki
Security and qualityhttps://github.com/microsoft/TypeScript/security
Insightshttps://github.com/microsoft/TypeScript/insights
https://github.com/microsoft/TypeScript
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
masterhttps://github.com/microsoft/TypeScript/tree/master
js/fix-this-assignments-in-ooorder-prototype-assignmenthttps://github.com/microsoft/TypeScript/tree/js/fix-this-assignments-in-ooorder-prototype-assignment
Conversationhttps://github.com/microsoft/TypeScript/pull/22766
Commits9 (9)https://github.com/microsoft/TypeScript/pull/22766/commits
Checkshttps://github.com/microsoft/TypeScript/pull/22766/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/22766/files
In source files and blocks, bind function declarations before other statementshttps://github.com/microsoft/TypeScript/pull/22766#top
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
masterhttps://github.com/microsoft/TypeScript/tree/master
js/fix-this-assignments-in-ooorder-prototype-assignmenthttps://github.com/microsoft/TypeScript/tree/js/fix-this-assignments-in-ooorder-prototype-assignment
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Mar 21, 2018https://github.com/microsoft/TypeScript/pull/22766#issue-307371616
#22725https://github.com/microsoft/TypeScript/issues/22725
#22438https://github.com/microsoft/TypeScript/issues/22438
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/22766
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
March 20, 2018 16:00https://github.com/microsoft/TypeScript/pull/22766#commits-pushed-330855b
https://github.com/sandersn
Add test case and temporarily disable inferencehttps://github.com/microsoft/TypeScript/pull/22766/commits/330855b63b291a3ea3303cc6934ede4031eedc04
330855bhttps://github.com/microsoft/TypeScript/pull/22766/commits/330855b63b291a3ea3303cc6934ede4031eedc04
https://github.com/sandersn
Update baselineshttps://github.com/microsoft/TypeScript/pull/22766/commits/790e569124763ee55f58830d1f9e14f3b52a990b
790e569https://github.com/microsoft/TypeScript/pull/22766/commits/790e569124763ee55f58830d1f9e14f3b52a990b
https://github.com/sandersn
In blocks and source files, bind functions firsthttps://github.com/microsoft/TypeScript/pull/22766/commits/2c12e03e4357e25d53b20bf363f27e78cc152a99
2c12e03https://github.com/microsoft/TypeScript/pull/22766/commits/2c12e03e4357e25d53b20bf363f27e78cc152a99
https://github.com/sandersn
Add tests from other bugshttps://github.com/microsoft/TypeScript/pull/22766/commits/6afe445ddb3cfbbd9d2c5d14caad52dc86d29d40
6afe445https://github.com/microsoft/TypeScript/pull/22766/commits/6afe445ddb3cfbbd9d2c5d14caad52dc86d29d40
https://github.com/sandersn
Remove temporary failsafehttps://github.com/microsoft/TypeScript/pull/22766/commits/371b40008d793d64bc2cb6655d7b2a88eba3e3c7
371b400https://github.com/microsoft/TypeScript/pull/22766/commits/371b40008d793d64bc2cb6655d7b2a88eba3e3c7
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Wesley Wigham (weswigham)https://github.com/weswigham
March 21, 2018 18:41https://github.com/microsoft/TypeScript/pull/22766#event-1533971948
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Mar 21, 2018 https://github.com/microsoft/TypeScript/pull/22766#pullrequestreview-105864387
View reviewed changes https://github.com/microsoft/TypeScript/pull/22766/files/371b40008d793d64bc2cb6655d7b2a88eba3e3c7
tests/baselines/reference/contextualTyping.errors.txthttps://github.com/microsoft/TypeScript/pull/22766/files/371b40008d793d64bc2cb6655d7b2a88eba3e3c7#diff-b193adcc9f9bd36f4ac96bdceb5287d98f614551bf932acfd4f30ab82b0807d3
Wesley Wigham (weswigham)https://github.com/weswigham
Mar 21, 2018https://github.com/microsoft/TypeScript/pull/22766#discussion_r176202185
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/22766
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/22766
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Mar 21, 2018https://github.com/microsoft/TypeScript/pull/22766#discussion_r176225610
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/22766
Wesley Wigham (weswigham)https://github.com/weswigham
Mar 21, 2018https://github.com/microsoft/TypeScript/pull/22766#discussion_r176226749
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/22766
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Mar 21, 2018https://github.com/microsoft/TypeScript/pull/22766#discussion_r176232986
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Daniel Rosenwasser (@DanielRosenwasser)https://github.com/DanielRosenwasser
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/22766
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Mar 21, 2018 https://github.com/microsoft/TypeScript/pull/22766#pullrequestreview-105865522
View reviewed changes https://github.com/microsoft/TypeScript/pull/22766/files/371b40008d793d64bc2cb6655d7b2a88eba3e3c7
tests/baselines/reference/typeFromPropertyAssignment17.errors.txthttps://github.com/microsoft/TypeScript/pull/22766/files/371b40008d793d64bc2cb6655d7b2a88eba3e3c7#diff-83552fdaf2f6941ac5ef3a38506edcec89b3f690404b2c499c6373c89c3bed75
Wesley Wigham (weswigham)https://github.com/weswigham
Mar 21, 2018https://github.com/microsoft/TypeScript/pull/22766#discussion_r176203100
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/22766
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Mar 21, 2018https://github.com/microsoft/TypeScript/pull/22766#discussion_r176212845
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/22766
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Mar 21, 2018 https://github.com/microsoft/TypeScript/pull/22766#pullrequestreview-105866387
View reviewed changes https://github.com/microsoft/TypeScript/pull/22766/files/371b40008d793d64bc2cb6655d7b2a88eba3e3c7
Wesley Wigham (weswigham)https://github.com/weswigham
https://github.com/microsoft/TypeScript/pull/22766#pullrequestreview-105866387
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/22766
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
March 21, 2018 13:23https://github.com/microsoft/TypeScript/pull/22766#commits-pushed-0cff71e
https://github.com/sandersn
Update tests to restore intent and clean up errorshttps://github.com/microsoft/TypeScript/pull/22766/commits/0cff71e3c06b08d939f5a03f24ed10677a145be0
0cff71ehttps://github.com/microsoft/TypeScript/pull/22766/commits/0cff71e3c06b08d939f5a03f24ed10677a145be0
https://github.com/sandersn
Restore intent even betterhttps://github.com/microsoft/TypeScript/pull/22766/commits/028f00d599db8845e713b21070cf5b084fc33f48
028f00dhttps://github.com/microsoft/TypeScript/pull/22766/commits/028f00d599db8845e713b21070cf5b084fc33f48
https://github.com/sandersn
Restore intent even better x2https://github.com/microsoft/TypeScript/pull/22766/commits/52ea832d2af32507c5e2f44c3a221d0fe98e8eef
52ea832https://github.com/microsoft/TypeScript/pull/22766/commits/52ea832d2af32507c5e2f44c3a221d0fe98e8eef
https://github.com/sandersn
Add missed baselineshttps://github.com/microsoft/TypeScript/pull/22766/commits/135002a1ef25d39524398c209fbd3259c9170e8a
135002ahttps://github.com/microsoft/TypeScript/pull/22766/commits/135002a1ef25d39524398c209fbd3259c9170e8a
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
de4a69chttps://github.com/microsoft/TypeScript/commit/de4a69cb726292e29e4d43afec109669f15846ff
Mar 21, 2018https://github.com/microsoft/TypeScript/pull/22766#event-1534281640
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
March 21, 2018 21:23https://github.com/microsoft/TypeScript/pull/22766#event-1534283655
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Jul 25, 2018https://github.com/microsoft/TypeScript/pull/22766#event-1753424806
https://github.co/hiddenchars
https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F22766
https://github.com/weswigham
Wesley Wigham (weswigham) https://github.com/weswigham
https://github.com/microsoft/TypeScript/pull/22766/files/371b40008d793d64bc2cb6655d7b2a88eba3e3c7
https://github.com/mhegazy
Mohamed Hegazy (mhegazy) https://github.com/mhegazy
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/22766
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/22766
https://github.com/sandersn
https://github.com/weswigham
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.