529
you are viewing a single comment's thread
view the rest of the comments
[-] Demdaru@lemmy.world 4 points 1 month ago

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

[-] bleistift2@sopuli.xyz 2 points 1 month ago

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

const print = obj.toString
print() // gives you a bad time
this post was submitted on 08 Jun 2025
529 points (97.5% liked)

Programmer Humor

37567 readers
1636 users here now

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

Rules:

founded 6 years ago
MODERATORS