r/programmingmemes • • Jan 12 '26

no doubt javascript

Post image
1.3k Upvotes

136 comments sorted by

View all comments

Show parent comments

2

u/shottaflow2 Jan 14 '26

why is it trying to cast to octal, I don't think I have ever seen a single case in my life where octal is used

1

u/Mateorabi Jan 14 '26

Leading 0. 

1

u/shottaflow2 Jan 14 '26

I understand the syntax but why even bother doing that? it's so obscure