Better HN
topnewbestaskshowjobs
Log inSign up

dominicglenn

1 karma · joined Oct 18, 2013 (13y ago) · 1 submissions

Submissions

comment 13y ago · link · parent

I posted it on the page as well:

Doesn't just calling return from an event equate to returning boolean false, which means you are invoking the effects of preventDefault() and stopImmediatePropagation() thus explaining why with return it's faster as the event stops bubbling immediately?