Comment

Comment by Sheepshow

In your example, X is still in scope when f('x') is called. It doesn't require closure to work.
parent Sheepshow 12 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton