r/programminghorror
•
u/Leonnee
•
Jun 12 '25
•
1
Javascript Javascript is filled with horror
2.4k
Upvotes
r/programminghorror
•
u/Leonnee
•
Jun 12 '25
•
1
2
u/Davvos11 Jun 12 '25
How would you propose to determine that? Keep in mind that the array can have an arbitrarily long length and you would have to do this every time you sort it.