js常见的三种输出语句

console.log() 在浏览器的控制台输出

 alert() 弹出一个对话框

document.write() 在页面输出

原文地址:https://www.cnblogs.com/xwzs/p/12291016.html