r/ProgrammerHumor • • Jun 21 '18

Thanks Brendan for giving us the Javascript

Post image
3.1k Upvotes

302 comments sorted by

View all comments

Show parent comment

6

u/[deleted] Jun 21 '18

I think the maximum of the empty set is just defined to be -infinity, it makes some sense mathematically

2

u/AyrA_ch Jun 21 '18

Not exactly sure but this looks like the V8 definition

It seems to do pretty much what I guessed.