Title: Should not suggest "caller" in strict mode as it causes TypeError · Issue #6649 · microsoft/TypeScript · GitHub
Open Graph Title: Should not suggest "caller" in strict mode as it causes TypeError · Issue #6649 · microsoft/TypeScript
X Title: Should not suggest "caller" in strict mode as it causes TypeError · Issue #6649 · microsoft/TypeScript
Description: From alexandrudima on January 27, 2016 14:22 Testing #2218 function restricted() { "use strict"; restricted.ca } console.log(restricted()); Since we're at it, it could also highlight the caller and arguments below with a squiggly indicat...
Open Graph Description: From alexandrudima on January 27, 2016 14:22 Testing #2218 function restricted() { "use strict"; restricted.ca } console.log(restricted()); Since we're at it, it could also highlight the caller and...
X Description: From alexandrudima on January 27, 2016 14:22 Testing #2218 function restricted() { "use strict"; restricted.ca } console.log(restricted()); Since we're at it, it could also highlight ...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/6649
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Should not suggest \"caller\" in strict mode as it causes TypeError","articleBody":"_From @alexandrudima on January 27, 2016 14:22_\n\nTesting #2218\n\n``` javascript\n\nfunction restricted()\n{\n \"use strict\";\n restricted.ca\n}\n\nconsole.log(restricted());\n\n```\n\n\n\nSince we're at it, it could also highlight the `caller` and `arguments` below with a squiggly indicating a `TypeError`:\n\n``` javascript\n\nfunction restricted()\n{\n \"use strict\";\n restricted.caller; // throws a TypeError\n restricted.arguments; // throws a TypeError\n}\n\nconsole.log(restricted());\n```\n\n_Copied from original issue: Microsoft/vscode#2454_\n","author":{"url":"https://github.com/egamma","@type":"Person","name":"egamma"},"datePublished":"2016-01-27T16:41:40Z","url":"https://github.com/microsoft/TypeScript/issues/6649"}
| 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:a2b6e9fa-52d7-c04c-1c96-7cb018662143 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B2D2:DA744:191DF5C:21BEE27:6B015979 |
| html-safe-nonce | 9e5f5c9e312f3716609d654971676fa76d537de51585a101f63d80d9043f72c7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMkQyOkRBNzQ0OjE5MURGNUM6MjFCRUUyNzo2QjAxNTk3OSIsInZpc2l0b3JfaWQiOiIxMTk3OTUwMzMwMDgwNDE4MTcwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | fcf38ae03743415d44396cde5875cdf50b7bac1906675211e9030008cdf20d74 |
| hovercard-subject-tag | issue:129201313 |
| 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/6649/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a74a571eb89b6836582511d4d952135048a6fc428cb825f870821aa6cb92132b/microsoft/TypeScript/issues/6649 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a74a571eb89b6836582511d4d952135048a6fc428cb825f870821aa6cb92132b/microsoft/TypeScript/issues/6649 |
| og:image:alt | From alexandrudima on January 27, 2016 14:22 Testing #2218 function restricted() { "use strict"; restricted.ca } console.log(restricted()); Since we're at it, it could also highlight the caller and... |
| 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