Comment

Comment by idontwantthis

Can anyone explain why they chose the [Symbol.dispose] syntax instead of regular .dispose syntax?

I suppose to not break existing code that implements a dispose method, but it is a lot less friendly than regular method syntax.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton