'Any way to find out whether a MutationObserver is disconnected or observing?

It appears that this shows the full list of methods.

Obviously it's not that difficult to find a way around this... but for the sake of elegance there should be a method isConnected, shouldn't there?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source