Expert Developer JavaScript Question:
Download Job Interview Questions and Answers PDF
Define event bubbling in JavaScript?
Answer:
JavaScript allows DOM elements to be nested inside each other. In such a case, if the handler of the child is clicked, the handler of parent will also work as if it were clicked too.
Download Expert JavaScript Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
How can a value be appended to an array? | What is a potential pitfall with using typeof bar === "object" to determine if bar is an object? How can this pitfall be avoided? |