Which code change should be done for the console to log the following when ‘Click me!’ is clicked’
Which code change should be done for the console to log the following when ‘Click me!’ is clicked’

> Row log
> Table log
A . Remove lines 13 and 14
B. Change line 10 to event.stopPropagation (false) ;
C. Change line 14 to elem.addEventListener (‘click’, printMessage, true);
D. Remove line 10
Answer: B
Latest JavaScript Developer I Practice Questions with 144 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments