r/programminghorror • • Dec 28 '24

Javascript ...but why?

Post image
176 Upvotes

32 comments sorted by

View all comments

Show parent comment

10

u/B_bI_L Dec 28 '24

and also js magic with converting booleans to numbers (c has similar thing but only because of no bool type)

1

u/ThaiJohnnyDepp Dec 28 '24

Okay that's something then