function log()
{
try
{
console.log.apply(console,arguments);
}
catch(e)
{
try
{
opera.postError.apply(opera,arguments);
}
catch(e)
{
alert(Array.prototype.join.call(arguments," "));
}
}
}
function log()
{
try
{
console.log.apply(console,arguments);
}
catch(e)
{
try
{
opera.postError.apply(opera,arguments);
}
catch(e)
{
alert(Array.prototype.join.call(arguments," "));
}
}
}
转载于:https://www.cnblogs.com/chenping-987123/archive/2013/01/04/2844121.html