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

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>