日期:2014-05-16 浏览次数:20471 次
//catch error
window.onerror = function () {
alert(1);
alert(arguments.join("\n\n"));
};
window.onerror = function () {
alert(1);
alert(arguments instanceof Array);
alert(Array.prototype.slice.call(arguments) instanceof Array);
};