【JS教程11】调试程序的方法

输出变量和对象的方法:

1、alert

2、console.log

3、document.title

断点调试

通过chrome浏览器调试工具的sources窗口,可以对外链的js文件进行断点调试

原文地址:https://www.cnblogs.com/zeug/p/11387070.html