Title: Salsa duplicate literal properties cause should be flagged only when in strict mode · Issue #6650 · microsoft/TypeScript · GitHub
Open Graph Title: Salsa duplicate literal properties cause should be flagged only when in strict mode · Issue #6650 · microsoft/TypeScript
X Title: Salsa duplicate literal properties cause should be flagged only when in strict mode · Issue #6650 · microsoft/TypeScript
Description: From alexandrudima on January 27, 2016 13:53 Testing #2218 The duplicate here is not a problem because the code is not in strict mode (also tried running it and node runs it just fine): // "use strict"; var o = { p: 1, p: 2}; console.log...
Open Graph Description: From alexandrudima on January 27, 2016 13:53 Testing #2218 The duplicate here is not a problem because the code is not in strict mode (also tried running it and node runs it just fine): // "use str...
X Description: From alexandrudima on January 27, 2016 13:53 Testing #2218 The duplicate here is not a problem because the code is not in strict mode (also tried running it and node runs it just fine): // "us...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/6650
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Salsa duplicate literal properties cause should be flagged only when in strict mode","articleBody":"_From @alexandrudima on January 27, 2016 13:53_\n\nTesting #2218 \n\nThe duplicate here is not a problem because the code is not in strict mode (also tried running it and node runs it just fine):\n\n``` javascript\n// \"use strict\";\nvar o = { p: 1, p: 2};\nconsole.log(o);\n```\n\n\n## But in ES6 this is not an error anymore?\n\nI have also found the following interesting note at https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode:\n\n\n_Copied from original issue: Microsoft/vscode#2452_\n","author":{"url":"https://github.com/egamma","@type":"Person","name":"egamma"},"datePublished":"2016-01-27T16:42:17Z","url":"https://github.com/microsoft/TypeScript/issues/6650"}
| 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:0f19e292-2e96-6f48-5a5c-c191a89455b8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E43A:24A0A:146D2F1:19B4FED:6B015C16 |
| html-safe-nonce | 1022873c6ad880a132d1d3b4bd5a5534a22aead14f4441f48ea88fce77df5fcc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDNBOjI0QTBBOjE0NkQyRjE6MTlCNEZFRDo2QjAxNUMxNiIsInZpc2l0b3JfaWQiOiI2NTU2NjQ4Mjg5MzM1MzM1OTU4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6fdbae8999c2768347e6df304a08d8045eb5837cf29b989faefd3b2852939a8f |
| hovercard-subject-tag | issue:129201601 |
| 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/6650/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a74a571eb89b6836582511d4d952135048a6fc428cb825f870821aa6cb92132b/microsoft/TypeScript/issues/6650 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a74a571eb89b6836582511d4d952135048a6fc428cb825f870821aa6cb92132b/microsoft/TypeScript/issues/6650 |
| og:image:alt | From alexandrudima on January 27, 2016 13:53 Testing #2218 The duplicate here is not a problem because the code is not in strict mode (also tried running it and node runs it just fine): // "use str... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | egamma |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width