4 ms·JavaScript has functions: const g = (x) => document.getElementById(x);by akoboldfrying 1y agoJavaScript has functions: const g = (x) => document.getElementById(x);