Hacker News new | ask | show | jobs
by dustinmoorenet 32 days ago
Instead of attaching click event listeners to each button you can just have one event listener. Makes sense when there is a single target. Nice to have in the tool belt.