3 ms·Na, the slowness comes from asking the browser to do that 1000's of times in a loop every click :)by abacadaba 5y agoNa, the slowness comes from asking the browser to do that 1000's of times in a loop every click :)