2 ms·
Yep. Nowadays you'd be more likely to see it as: return () => { const next = i; i = i * 2; return next; } But in this case the two a
by basil-rash 8y ago
Yep. Nowadays you'd be more likely to see it as:
return () => {
const next = i;
i = i * 2;
return next;
}
But in this case the two are equivalent.