3 ms·
Does that mean this: Array(n).fill() is a permanent deoptimization? And if so, is the new array returned by: Array(n).fill().map(x => x) better opti
by eyelidlessness 5y ago
Does that mean this:
Array(n).fill()
is a permanent deoptimization? And if so, is the new array returned by:
Array(n).fill().map(x => x)
better optimized (after the, presumably, suboptimal iteration)?