Title: searching-elements-dom练习题 · javascript-tutorial/zh.javascript.info · Discussion #1035 · GitHub
Open Graph Title: searching-elements-dom练习题 · javascript-tutorial/zh.javascript.info · Discussion #1035
X Title: searching-elements-dom练习题 · javascript-tutorial/zh.javascript.info · Discussion #1035
Description: searching-elements-dom练习题
Open Graph Description: let table = document.getElementById('age-table') 此语句返回的是undefined,而不是table
X Description: let table = document.getElementById('age-table') 此语句返回的是undefined,而不是table
Opengraph URL: https://github.com/javascript-tutorial/zh.javascript.info/discussions/1035
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"QAPage","mainEntity":{"@type":"Question","name":"searching-elements-dom练习题","text":"let table = document.getElementById('age-table')
\n此语句返回的是undefined,而不是table
","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"hello,这是赋值语句,所以返回值是 undefined,但 table 其实被赋值成了对应的节点,这个应该没什么问题
","upvoteCount":1,"url":"https://github.com/javascript-tutorial/zh.javascript.info/discussions/1035#discussioncomment-2591835"}}}
| route-pattern | /_view_fragments/Voltron::DiscussionsFragmentsController/show/:user_id/:repository/:discussion_number/discussion_layout(.:format) |
| route-controller | voltron_discussions_fragments |
| route-action | discussion_layout |
| fetch-nonce | v2:1f0c3e6d-4fcc-86de-6c90-212bda464a20 |
| current-catalog-service-hash | 9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be |
| request-id | CA5E:FDC34:984E319:C9EAE6B:696E0FFD |
| html-safe-nonce | 0c322e59b1c673e96ddc0521e8e66074dabc921835fc7cf161b646fc5ef150a5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTVFOkZEQzM0Ojk4NEUzMTk6QzlFQUU2Qjo2OTZFMEZGRCIsInZpc2l0b3JfaWQiOiI2Njc0MjA3NTA5OTA5OTk5NjEzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 073831cfe1b49afcf6b33015d247e7aac243a59ee899e50904e285a8c7740a38 |
| hovercard-subject-tag | discussion:4019221 |
| github-keyboard-shortcuts | repository,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/Voltron::DiscussionsFragmentsController/show/javascript-tutorial/zh.javascript.info/1035/discussion_layout |
| twitter:image | https://opengraph.githubassets.com/ce7a128922ea7b9b75ad3b3f6bf30533e6c065d82a8a72ca21bf53cf5e176afc/javascript-tutorial/zh.javascript.info/discussions/1035 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ce7a128922ea7b9b75ad3b3f6bf30533e6c065d82a8a72ca21bf53cf5e176afc/javascript-tutorial/zh.javascript.info/discussions/1035 |
| og:image:alt | let table = document.getElementById('age-table') 此语句返回的是undefined,而不是table |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0b1760aa20e1a810eba6245d04e3885be7363dfe08d08b61f605c852359472e0 |
| turbo-cache-control | no-preview |
| go-import | github.com/javascript-tutorial/zh.javascript.info git https://github.com/javascript-tutorial/zh.javascript.info.git |
| octolytics-dimension-user_id | 49552305 |
| octolytics-dimension-user_login | javascript-tutorial |
| octolytics-dimension-repository_id | 128014656 |
| octolytics-dimension-repository_nwo | javascript-tutorial/zh.javascript.info |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 128014656 |
| octolytics-dimension-repository_network_root_nwo | javascript-tutorial/zh.javascript.info |
| 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 | 84090305cd10c2b140bf307f69f57f0892b4f215 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width