2 ms·
Elements with an id are globals, so you do this (not that it's recommended): count.innerText = up.onclick = down.onclick = etc
by fs_tab 3y ago
Elements with an id are globals, so you do this (not that it's recommended):
count.innerText =
up.onclick =
down.onclick =
etc