4 ms·
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 t
by dustinmoorenet 3mo 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.