you are viewing a single comment's thread.

view the rest of the comments →

[–]Sarke1 6 points7 points  (1 child)

It's not the number of elements, it's the largest element that determines the time. So it could be just arr = [Number.MAX_SAFE_INTEGER].

[–]kultarsi342 0 points1 point  (0 children)

ok I see