js 游览器log的记录
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," ")); } } }