LinkedIn interview question

Event bubbling and capturing in JS