0
var myListItems = document.getElementById ("li");
function myList() {console.log (myListItems)};
function myWrist() {document.write (myListItems)};
myList();
myWrist();
上記のJavaScriptの場合、document.writeの出力は-ですが、console.logの出力はですか?なぜdocument.writeとconsole.logはgetElementByIdの出力が異なっていますか?
助けていただければ幸いです。