Re:GetElementById vs. QuerySelector
by chrismorgan on Friday November 26, 2021 @12:57AM
(#29347832)
Well, that was actually what I wrote first for benchmarking, but I gave up waiting for it to finish. eval is slow.
> window[`test${i}`]
surely you must mean `eval('test'+i)` :)