Not much experience, but quickly learned .bind() in JS after it switched me to window instead of object.
this post was submitted on 08 Jun 2025
475 points (97.6% liked)
Programmer Humor
36296 readers
1015 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
The key is to not reassign function names to local variables.
const print = obj.toString
print() // gives you a bad time