deno_std
deno_std copied to clipboard
suggestion: deprecate `std/collections` APIs in favour of new `Set` methods
trafficstars
I suggest the following now that new Set methods are available in Deno:
- Deprecate
intersect()in favour ofSet.prototype.intersection() - Deprecate
union()in favour ofSet.prototype.union()
Removals should happen in std/collections@1. However, this might be too soon as these APIs are not fully supported in other JavaScript runtimes.