Intersection Observer & Efficient Scroll Handling

How does rootMargin affect Intersection Observer's behavior?
const options = {
  root: document.querySelector('#scrollArea'),
  rootMargin: '50px 0px',
  threshold: 0
};
Next Question (4/20)