News for hackers. Stuff that matters.
Re:JavaScript's New Superpower: Explicit Resource Management by 90s_dev on Saturday May 17, 2025 @11:52AM (#44015155)

  const o = {}
  o["foo"] = function(){}
  o["foo"]()
  let key = "foo"
  o[key]()
  key = Symbol.dispose ?? Symbol.for('dispose')
  o[key]()
  o[Symbol.dispose]()

There are no comments on this comment yet.