SOURCE

var a = 1
console.log(a)  //控制台输出
document.write("<p>a</p>") //写到html
alert(a)    //弹窗
console 命令行工具 X clear

                    
>
console