2 ms·
Without knowing the domain, you have no way of knowing that. It’s also much easier to stick to for() loops in javascript as you code than it is to rewrite ever
by josephg 4y ago
Without knowing the domain, you have no way of knowing that.
It’s also much easier to stick to for() loops in javascript as you code than it is to rewrite everything later when tuning for performance. If that’s something you expect to need to do.