Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

eadlam

Member since
eadlam

Recent Docs Activity

View all activity
Page Date Comment

beforeunload


For the webkit/gecko example, I changed the argument "event" to "e" to match the (otherwise undeclared) variable "e". I Chose "e" over "event" because VIM (and possibly other editors) highlights "event" as a DOM object.