Why can't I expand this event object in the chrome console?

前端 未结 4 2189
情深已故
情深已故 2021-01-01 16:54

Simplified, what I\'m doing is running this in the console:

window.onbeforeunload = function (e) {
    console.log(e);
}

But in the console

4条回答
提交回复
热议问题