📅  最后修改于: 2022-03-11 15:01:37.835000             🧑  作者: Mango
single direct child example:
document.querySelector("div > a") // returns the link
all children example:
document.querySelectorAll("div a") // returns NodeList[a, etc...]