JavaScript之常用调试方法

1. 使用alert() 消息框输出信息的方法
2. 使用document . write() 的方法,把输出内容显示在页面上。

原文地址:https://www.cnblogs.com/lee0oo0/p/2877663.html