Y
Hacker News
new
|
ask
|
show
|
jobs
by
anamexis
1100 days ago
It wouldn't be any different:
const dispose = Symbol.dispose const resource = { [dispose]: () => {...} }