« * K @mvsamuel.bsky.social

Mike Samuel 🟣 @mvsamuel.bsky.social

2026-11-25 22:53 UTC

f("var FOO = "NOT FOO") causes f to return "NOT FOO". It doesn't set FOO to "NOT FOO", it introduces a new `var FOO` declaration inside `f` that masks the outer `var FOO`. eval acts as if inlining its code, allowing it to add entirely new scope entries.

A reply in a thread.

1 likes, 0 reposts, 1 replies

3 Next post4 More from @mvsamuel.bsky.socialBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup