r/programminghorror
•
u/Leonnee
•
Jun 12 '25
•
1
Javascript Javascript is filled with horror
2.4k
Upvotes
View all comments
Show parent comment
4
u/clericc-- Jun 12 '25
deternine the nearest common supertype, which is comparable. thats what should happen. In this case "number".