Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

searching-elements-dom练习题#1035

Answeredbysonghn233
ai25395 asked this question inQ&A
Discussion options

let table = document.getElementById('age-table')
此语句返回的是undefined,而不是table

You must be logged in to vote

hello,这是赋值语句,所以返回值是 undefined,但 table 其实被赋值成了对应的节点,这个应该没什么问题

Replies: 1 comment

Comment options

hello,这是赋值语句,所以返回值是 undefined,但 table 其实被赋值成了对应的节点,这个应该没什么问题

You must be logged in to vote
0 replies
Answer selected byleviding
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
2 participants
@ai25395@songhn233
Converted from issue

This discussion was converted from issue #1034 on April 19, 2022 09:56.


[8]ページ先頭

©2009-2025 Movatter.jp