News for hackers. Stuff that matters.
Re:Some features that every JavaScript developer should know... by senfiaj on Tuesday April 15, 2025 @03:11PM (#43697179)
My speculation is also that with iterators the array size might be somewhat less predictable, because you might not know when the iterator finishes. For example by doing .filter().map(). So there is no way to precisely know how much memory will be preallocated.

There are no comments on this comment yet.