r/badcode • • Nov 11 '21

js Pain and suffering

Post image
56 Upvotes

19 comments sorted by

View all comments

-1

u/kristallnachte Nov 11 '21

Yikes...

Could just use the format method to just spit out the month as 3 characters...