JavaScript常见输出语句 JavaScript输出语句 JavaScript输出语句 alert("hello world"); console.log(hello world); document.write("hello world"); alert(弹出警示框) console.log(在控制台输出) document.write(在页面中显示)