text: let observer = new MutationObserver(() => console.log('<body> attributes changed'));
  
  observer.observe(document.body, { attributes: true });
  
  document.body.className = 'foo';
  console.log('Changed body class');
  
  // Changed body class
  // <body> attributes changed
  MutationObserverExample01.js
  