mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-09 10:22:28 +08:00
A class instance that flows into a structural type keeps a live view when the program can tell a copy from it. switch statements match their cases with ===, node:assert's named comparison exports and util's isDeepStrictEqual compare their arguments, and new Set, Map, WeakSet, WeakMap and WeakRef key their arguments by identity; these now count as observations of the values' types.