控制台调试程序

alert() 是不能查看数组,对象的
console.log(数组变量);
然后用火狐的friebug 在控制台查看 

原文地址:https://www.cnblogs.com/lvchenfeng/p/5269406.html