Events bubble by default. So the difference between the two is:
targetis the element that triggered the event (e.g., the user clicked on)currentTargetis the element that the event listener is attached to.
Events bubble by default. So the difference between the two is:
target is the element that triggered the event (e.g., the user clicked on)currentTarget is the element that the event listener is attached to.