CodingJavaScript内置对象和API 2023-06-16 Source Edit History document 对象 write输出内容到网页 12a = 'hahaha';document.write(a); 获取网页元素1let a = document.getElementsByClassName("example"); Return a NodeList 对象