简体中文
外观
Event
type
type 属性是事件名。
字符串。系统派发的事件名全小写。
TypeError
console.log(new Event('login').type);
结果:控制台输出 login。
login
Event()