@mvsamuel.bsky.socialMike Samuel 🟣 @mvsamuel.bsky.social
2026-11-25 22:31 UTC
In JS, methods are just functions that are called via subject.verb(object) syntax, and get `subject` as `this`. For defensive programming reasons (PoLA), you may want to not pass `this` despite fetching the callee from a record. (0, obj.fn)(x, y) // Comma expression defangs member access
A reply in a thread.
2 likes, 0 reposts, 1 replies
3 Next post4 More from @mvsamuel.bsky.socialBackBluesky home