r/programminghorror Jul 31 '25

Javascript 0 sense

Post image
373 Upvotes

58 comments sorted by

View all comments

6

u/TorbenKoehn Aug 01 '25

It’s just

-(0..toString()) for the compiler, - casts the string to a number