Performance Optimization Techniques

What performance issue does this event handling pattern cause?
document.querySelectorAll('.button').forEach(button => {
  button.addEventListener('click', function() {
    console.log('Button clicked:', this.textContent);
  });
});
Next Question (17/40)