Working with Checkboxes, Radio Buttons, and Dropdowns

Why is dispatching a change event important in this context?
function syncCheckboxes(source, targets) {
  targets.forEach(target => {
    target.checked = source.checked;
    target.dispatchEvent(new Event('change', { bubbles: true }));
  });
}
Next Question (11/22)