38 ms·
For-of loops are fast enough, most of the time. You probably still don't want to risk it in a tight loop. Relying on those optimizations may not be the most re
by egeozcan 10mo ago
For-of loops are fast enough, most of the time.
You probably still don't want to risk it in a tight loop. Relying on those optimizations may not be the most reliable choice when you think about all the different JS engines, platforms, system load, operating systems...