Title: [Errors] break/continue outside iteration/switch statements · Issue #53 · microsoft/TypeScript · GitHub
Open Graph Title: [Errors] break/continue outside iteration/switch statements · Issue #53 · microsoft/TypeScript
X Title: [Errors] break/continue outside iteration/switch statements · Issue #53 · microsoft/TypeScript
Description: var x = 1; break; continue; Expected: 'break' statement can only be used within an enclosing iteration or switch statement. 'continue' statement can only be used within an enclosing iteration statement. Actual: no error Error must be syn...
Open Graph Description: var x = 1; break; continue; Expected: 'break' statement can only be used within an enclosing iteration or switch statement. 'continue' statement can only be used within an enclosing iteration state...
X Description: var x = 1; break; continue; Expected: 'break' statement can only be used within an enclosing iteration or switch statement. 'continue' statement can only be used within an enclosing...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/53
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Errors] break/continue outside iteration/switch statements","articleBody":"``` TypeScript\nvar x = 1;\nbreak;\ncontinue;\n```\n\nExpected: \n'break' statement can only be used within an enclosing iteration or switch statement.\n'continue' statement can only be used within an enclosing iteration statement.\n\nActual: no error\nError must be syntactic.\n","author":{"url":"https://github.com/mhegazy","@type":"Person","name":"mhegazy"},"datePublished":"2014-07-17T19:55:56Z","url":"https://github.com/microsoft/TypeScript/issues/53"}
| react-profiling | 0 |
| react-import-map | react,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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:752b11a1-2403-31fd-e0fd-6b15bc3cf2f3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 92DE:305B07:C66757:1075CF5:6B00F565 |
| html-safe-nonce | 6fad1d493ea03a9db13c967cbbe4243c359fcb74c6e3e1d6049dd7e3597b57fe |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkRFOjMwNUIwNzpDNjY3NTc6MTA3NUNGNTo2QjAwRjU2NSIsInZpc2l0b3JfaWQiOiI0NDQwNzI0NDIxODAzNTcwNTMzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e7066459e0808fa9ff66592d49f50554dea8e00b8bbd18a94be6cc09346b41b2 |
| hovercard-subject-tag | issue:38119190 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/53/issue_layout |
| twitter:image | https://opengraph.githubassets.com/20eeada878dd82c023c77fe8d1a2f3fd84da6bbfd98a8782c012e805e9e556da/microsoft/TypeScript/issues/53 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/20eeada878dd82c023c77fe8d1a2f3fd84da6bbfd98a8782c012e805e9e556da/microsoft/TypeScript/issues/53 |
| og:image:alt | var x = 1; break; continue; Expected: 'break' statement can only be used within an enclosing iteration or switch statement. 'continue' statement can only be used within an enclosing iteration state... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mhegazy |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9983dd5da06943f833c971dd5b6bc988e2858be5 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width