함수안에 tomato라는 매개변수를 주고 그것이 어떤값을 가지고 있는지 콘솔로그로 확인했다.SubmitEvent {isTrusted: true, submitter: button, type: 'submit', target: form, currentTarget: div#login-form, …}
isTrusted: true
bubbles: true
cancelBubble: false
cancelable: true
composed: false
currentTarget: null
defaultPrevented: true
eventPhase: 0
path: (6) [form, div#login-form, body, html, document, Window]
returnValue: false
srcElement: form
submitter: button
target: form
timeStamp: 8877.20000000298
type: "submit"
[[Prototype]]: SubmitEvent
이 매개변수는 submit이벤트 자체를 가지고 있다는걸 알수있다.