René's URL Explorer Experiment


Title: Type checking 'for...of' in ES3/5 by JsonFreeman · Pull Request #2308 · microsoft/TypeScript · GitHub

Open Graph Title: Type checking 'for...of' in ES3/5 by JsonFreeman · Pull Request #2308 · microsoft/TypeScript

X Title: Type checking 'for...of' in ES3/5 by JsonFreeman · Pull Request #2308 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Type checking 'for...of' in ES3/5 by JsonFreeman · Pull Request #2308 · microsoft/TypeScript

Open Graph Description: A 'for...of' statement in ES5 can take an array, a string, a union of arrays, or a union of arrays and string. A 'for...of' statement in ES3 can take an array or a union of arrays.

X Description: A 'for...of' statement in ES5 can take an array, a string, a union of arrays, or a union of arrays and string. A 'for...of' statement in ES3 can take an array or a union of arrays.

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

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:18b88257-29e9-9cae-3214-b52f15b1d408
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB172:220F9F:60ED6:8A4CF:6AFBF65F
html-safe-nonce5bedffd0fea5a227ce4e271678ea31b723b442cf05ce06bfc1ad8fb461766c23
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTcyOjIyMEY5Rjo2MEVENjo4QTRDRjo2QUZCRjY1RiIsInZpc2l0b3JfaWQiOiI5MDY5Mzc4OTMyNTk5MTU4MzY3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac3eece45c493be2de2de69096b6b8ff13e655b65618ddbf78f87dc6ef45db26c4
hovercard-subject-tagpull_request:30996155
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/2308/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8de72a8c66bc7c44f501cbe396b51eb410d983e6d5508de525f21540026b5537/microsoft/TypeScript/pull/2308
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8de72a8c66bc7c44f501cbe396b51eb410d983e6d5508de525f21540026b5537/microsoft/TypeScript/pull/2308
og:image:altA 'for...of' statement in ES5 can take an array, a string, a union of arrays, or a union of arrays and string. A 'for...of' statement in ES3 can take an array or a union of arrays.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJsonFreeman
hostnamegithub.com
expected-hostnamegithub.com
Nonefa74413a1d84dac536fcca0740780bcbd3207bafec0e51873b73ff8e8cca032f
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
releaseb3b5633a74535d9c23385512d534c66c8fde1907
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/2308#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F2308
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%2F2308
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/2308
Reloadhttps://github.com/microsoft/TypeScript/pull/2308
Reloadhttps://github.com/microsoft/TypeScript/pull/2308
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests335 (335)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/pulse
https://github.com/microsoft/TypeScript
Jason Freeman (JsonFreeman)https://github.com/JsonFreeman
masterhttps://github.com/microsoft/TypeScript/tree/master
for-ofES5https://github.com/microsoft/TypeScript/tree/for-ofES5
Conversationhttps://github.com/microsoft/TypeScript/pull/2308
Commits9 (9)https://github.com/microsoft/TypeScript/pull/2308/commits
Checkshttps://github.com/microsoft/TypeScript/pull/2308/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/2308/files
Type checking 'for...of' in ES3/5https://github.com/microsoft/TypeScript/pull/2308#top
Jason Freeman (JsonFreeman)https://github.com/JsonFreeman
masterhttps://github.com/microsoft/TypeScript/tree/master
for-ofES5https://github.com/microsoft/TypeScript/tree/for-ofES5
https://github.com/JsonFreeman
Jason Freeman (JsonFreeman)https://github.com/JsonFreeman
Mar 11, 2015https://github.com/microsoft/TypeScript/pull/2308#issue-60748172
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/2308
Jason Freeman (JsonFreeman)https://github.com/JsonFreeman
March 11, 2015 16:34https://github.com/microsoft/TypeScript/pull/2308#commits-pushed-5b46f5f
https://github.com/JsonFreeman
Remove error for using 'for...of' in ES3/ES5https://github.com/microsoft/TypeScript/pull/2308/commits/5b46f5f9ae4bf47707b8bb4b676f4299523b808c
5b46f5fhttps://github.com/microsoft/TypeScript/pull/2308/commits/5b46f5f9ae4bf47707b8bb4b676f4299523b808c
https://github.com/JsonFreeman
Introduce checkElementTypeOfArrayOrString for downlevel for..of type …https://github.com/microsoft/TypeScript/pull/2308/commits/61cd2a7543261c082213d314d1dc294d402bed88
https://github.com/microsoft/TypeScript/commit/61cd2a7543261c082213d314d1dc294d402bed88#comments
61cd2a7https://github.com/microsoft/TypeScript/pull/2308/commits/61cd2a7543261c082213d314d1dc294d402bed88
https://github.com/JsonFreeman
Change a test to be more interestinghttps://github.com/microsoft/TypeScript/pull/2308/commits/32aee67c4fa63246d1e9dad61e6d83bc15503142
32aee67https://github.com/microsoft/TypeScript/pull/2308/commits/32aee67c4fa63246d1e9dad61e6d83bc15503142
https://github.com/JsonFreeman
Remove unhelpful commenthttps://github.com/microsoft/TypeScript/pull/2308/commits/29cbe9d4bae21907ddfa3e38f92fab5f503cd319
29cbe9dhttps://github.com/microsoft/TypeScript/pull/2308/commits/29cbe9d4bae21907ddfa3e38f92fab5f503cd319
https://github.com/JsonFreeman
Add tests for downlevel for-of type checkinghttps://github.com/microsoft/TypeScript/pull/2308/commits/03176d33efda5ba6dfe7c57e62926a6324cb81df
03176d3https://github.com/microsoft/TypeScript/pull/2308/commits/03176d33efda5ba6dfe7c57e62926a6324cb81df
https://github.com/msftclas
Microsoft Contribution License Agreements (msftclas)https://github.com/msftclas
cla-not-required https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3Acla-not-required
Mar 11, 2015https://github.com/microsoft/TypeScript/pull/2308#event-250541806
https://github.com/JsonFreeman
Jason Freeman (JsonFreeman)https://github.com/JsonFreeman
cla-not-required https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3Acla-not-required
Mar 11, 2015https://github.com/microsoft/TypeScript/pull/2308#event-250541836
https://github.com/JsonFreeman
Rebaseline tests that will be affected byhttps://github.com/microsoft/TypeScript/pull/2308/commits/7d2d55e44e539277a9be11b832abb7cf7abdf22b
#2308https://github.com/microsoft/TypeScript/pull/2308
7d2d55ehttps://github.com/microsoft/TypeScript/pull/2308/commits/7d2d55e44e539277a9be11b832abb7cf7abdf22b
https://github.com/JsonFreeman
Jason Freeman (JsonFreeman)https://github.com/JsonFreeman
Mar 12, 2015https://github.com/microsoft/TypeScript/pull/2308#issuecomment-78410230
#2308https://github.com/microsoft/TypeScript/pull/2308
#2309https://github.com/microsoft/TypeScript/pull/2309
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/2308
CyrusNajmabadihttps://github.com/CyrusNajmabadi
Mar 12, 2015 https://github.com/microsoft/TypeScript/pull/2308#discussion-diff-26315790
View reviewed changes https://github.com/microsoft/TypeScript/pull/2308/files/7d2d55e44e539277a9be11b832abb7cf7abdf22b#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/2308/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Cyrus Najmabadi (CyrusNajmabadi)https://github.com/CyrusNajmabadi
Mar 12, 2015https://github.com/microsoft/TypeScript/pull/2308#discussion_r26315790
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/2308
https://github.com/JsonFreeman
Jason Freeman (JsonFreeman)https://github.com/JsonFreeman
Mar 12, 2015 https://github.com/microsoft/TypeScript/pull/2308#ref-issue-56315255
Iterators (ES6) #1900 https://github.com/microsoft/TypeScript/issues/1900
Jason Freeman (JsonFreeman)https://github.com/JsonFreeman
March 12, 2015 13:32https://github.com/microsoft/TypeScript/pull/2308#commits-pushed-1204d31
https://github.com/JsonFreeman
Merge branch 'master' ofhttps://github.com/microsoft/TypeScript/pull/2308/commits/1204d3186b29b2b0b1c445084c5609fa63ca5ec1
https://github.com/Microsoft/TypeScripthttps://github.com/Microsoft/TypeScript
into…https://github.com/microsoft/TypeScript/pull/2308/commits/1204d3186b29b2b0b1c445084c5609fa63ca5ec1
1204d31https://github.com/microsoft/TypeScript/pull/2308/commits/1204d3186b29b2b0b1c445084c5609fa63ca5ec1
https://github.com/JsonFreeman
Adjust baselines after mergehttps://github.com/microsoft/TypeScript/pull/2308/commits/22f80b9582d9c0bf729fed0e936e7a2242633898
22f80b9https://github.com/microsoft/TypeScript/pull/2308/commits/22f80b9582d9c0bf729fed0e936e7a2242633898
https://github.com/JsonFreeman
Address PR feedbackhttps://github.com/microsoft/TypeScript/pull/2308/commits/6691408147bb6e773fed3ef116c3fd30ee6c64e4
https://github.com/microsoft/TypeScript/commit/6691408147bb6e773fed3ef116c3fd30ee6c64e4#comments
6691408https://github.com/microsoft/TypeScript/pull/2308/commits/6691408147bb6e773fed3ef116c3fd30ee6c64e4
https://github.com/yuit
Yui (yuit)https://github.com/yuit
Mar 12, 2015https://github.com/microsoft/TypeScript/pull/2308#issuecomment-78675293
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/2308
Jason Freeman (JsonFreeman)https://github.com/JsonFreeman
Mar 12, 2015 https://github.com/microsoft/TypeScript/pull/2308#ref-commit-be4ff97
https://github.com/JsonFreeman
Merge pull requesthttps://github.com/microsoft/TypeScript/commit/be4ff97a6b31f8c0737530d7d508c29aa3da2eb0
#2308https://github.com/microsoft/TypeScript/pull/2308
from Microsoft/for-ofES5https://github.com/microsoft/TypeScript/commit/be4ff97a6b31f8c0737530d7d508c29aa3da2eb0
be4ff97https://github.com/microsoft/TypeScript/commit/be4ff97a6b31f8c0737530d7d508c29aa3da2eb0
https://github.com/JsonFreeman
Jason Freeman (JsonFreeman)https://github.com/JsonFreeman
be4ff97https://github.com/microsoft/TypeScript/commit/be4ff97a6b31f8c0737530d7d508c29aa3da2eb0
Mar 12, 2015https://github.com/microsoft/TypeScript/pull/2308#event-251395132
https://github.com/JsonFreeman
Jason Freeman (JsonFreeman)https://github.com/JsonFreeman
March 12, 2015 23:04https://github.com/microsoft/TypeScript/pull/2308#event-251395138
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Jun 18, 2018https://github.com/microsoft/TypeScript/pull/2308#event-1686925028
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%2F2308
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/2308
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/2308
https://github.com/JsonFreeman
https://github.com/yuit
https://github.com/CyrusNajmabadi
https://github.com/msftclas
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.