alert()
document.write()
console.log():这个是比较常用的
JavaScript常见的输出信息的方法
原文:https://www.cnblogs.com/Friday1/p/14731611.html