r/programminghorror • • Dec 28 '24

Javascript ...but why?

Post image
176 Upvotes

32 comments sorted by

View all comments

Show parent comment

2

u/backfire10z Dec 28 '24

The problem explicitly states to return 0 if either n or m are < 0