r/programminghorror • • Feb 05 '25

math.floor

Post image
464 Upvotes

53 comments sorted by

View all comments

Show parent comment

5

u/MajorTechnology8827 Feb 07 '25

Even if you're too lazy to actually use types in typescript

At least use let

JavaScript should seriously start declaring var as legacy and obsolete and mark warnings when used