The problem with mutation events

In this example, we are creating 2500 paragraphs, and appending them to a document fragment. Then we'll append that document fragment to a div element. Each element added fires a new DOMNodeInserted event, which causes our event handler to be invoked.

Our DOMNodeInserted event handler was invoked 0 times.