Question: Given that two event listeners are registered for a component CompA as:
CompA.addEventListener(MouseEvent.CLICK, func1);
CompA.addEventListener(MouseEvent.CLICK, func2);
What will happen when a click event is fired on CompA?
A
func1 is called but func2 is not called.
B
func2 is called but func1 is not called.
C
Either func1 or func2 are randomly chosen and called.