What does the `stopPropagation()` method do in an event object in JavaScript?JavaScript/What does the `stopPropagation()` method do in an event object in JavaScript?