Y
Hacker News
new
|
ask
|
show
|
jobs
by
lhorie
1665 days ago
> code golfing tricks
> window[`test${i}`]
surely you must mean `eval('test'+i)` :)
1 comments
chrismorgan
1665 days ago
Well, that was actually what I wrote first for benchmarking, but I gave up waiting for it to finish. eval is slow.
link