Title: Is moduleId a reserved Keyword in Angular? · Issue #15286 · angular/angular · GitHub
Open Graph Title: Is moduleId a reserved Keyword in Angular? · Issue #15286 · angular/angular
X Title: Is moduleId a reserved Keyword in Angular? · Issue #15286 · angular/angular
Description: export class AppComponent { title = 'app works!'; constructor() { let test1 = { id: 'test', moduleId1: 'moduleId1', moduleId: 'IsThisReserverdWord', moduleId2: 'moduleId2' }; console.log(test1.moduleId); let test2 = { moduleId: 'moduleId...
Open Graph Description: export class AppComponent { title = 'app works!'; constructor() { let test1 = { id: 'test', moduleId1: 'moduleId1', moduleId: 'IsThisReserverdWord', moduleId2: 'moduleId2' }; console.log(test1.modu...
X Description: export class AppComponent { title = 'app works!'; constructor() { let test1 = { id: 'test', moduleId1: 'moduleId1', moduleId: 'IsThisReserverdWord', moduleId2: '...
Opengraph URL: https://github.com/angular/angular/issues/15286
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Is moduleId a reserved Keyword in Angular?","articleBody":"export class AppComponent {\r\n title = 'app works!';\r\n\r\n constructor() {\r\n\r\n let test1 = {\r\n id: 'test',\r\n moduleId1: 'moduleId1',\r\n moduleId: 'IsThisReserverdWord',\r\n moduleId2: 'moduleId2'\r\n };\r\n\r\n console.log(test1.moduleId);\r\n\r\n let test2 = {\r\n moduleId: 'moduleId3',\r\n };\r\n }\r\n\r\nIt is very strange that the console log part is never hit and there is no exception. By removing the moduleId: 'IsThisReserverdWord' property it is all fine. \r\n\r\nIs moduleid reserved key word as when i try and print the moduleId without having any other property in test it gives undefined and also if i try and print moduleId2 in the above test object it throws error test1 is not defined. \r\n\r\n","author":{"url":"https://github.com/rahulrsingh09","@type":"Person","name":"rahulrsingh09"},"datePublished":"2017-03-19T10:25:26Z","url":"https://github.com/angular/angular/issues/15286"}
| 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:e1eab0f2-57af-31c6-d871-2eeaf6a98dfe |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D102:2E124E:4637DEB:597D092:6B024E81 |
| html-safe-nonce | 25a1dc9750e5eec495b825aa8aa14f0a085673ec8bc9d436d01c4a8aaf92ccc2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTAyOjJFMTI0RTo0NjM3REVCOjU5N0QwOTI6NkIwMjRFODEiLCJ2aXNpdG9yX2lkIjoiNTE1NTI0OTM0NTk2ODM2MTA5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 788d0271cc8dc9bd19069c7f8cd3c13dd378e2644524cea24762e7c3fe412574 |
| hovercard-subject-tag | issue:215254664 |
| 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/angular/angular/15286/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f457c2cfc9d3756d2d207461dc7affad32e78ff98279e556acfe80c84830461e/angular/angular/issues/15286 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f457c2cfc9d3756d2d207461dc7affad32e78ff98279e556acfe80c84830461e/angular/angular/issues/15286 |
| og:image:alt | export class AppComponent { title = 'app works!'; constructor() { let test1 = { id: 'test', moduleId1: 'moduleId1', moduleId: 'IsThisReserverdWord', moduleId2: 'moduleId2' }; console.log(test1.modu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rahulrsingh09 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width