this post was submitted on 08 Jun 2025
393 points (97.3% liked)

Programmer Humor

36257 readers
1025 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] Demdaru@lemmy.world 4 points 12 hours ago (1 children)

Not much experience, but quickly learned .bind() in JS after it switched me to window instead of object.

[โ€“] bleistift2@sopuli.xyz 1 points 8 hours ago

The key is to not reassign function names to local variables.

const print = obj.toString
print() // gives you a bad time