eventsJavaScriptEventsMediumWhat is the difference between preventDefault() and stopPropagation()?1preventDefault stops the default action; stopPropagation stops the event from bubbling2They are the same3preventDefault stops bubbling; stopPropagation stops the default4Both stop bubblingBack to list