How to Track Changes in the DOM Using MutationObserver

What Is MutationObserver?
MutationObserver is a Web API provided by modern browsers for detecting changes in the DOM. With this API one can listen to newly added or removed nodes, attribute changes, or make changes in the text content of text nodes.
Why would you want to do that?

Link: https://dzone.com/articles/how-to-track-changes-in-the-dom-using-mutationobse?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev